Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

compiler directive

2 views
Skip to first unread message

happytoday

unread,
May 3, 2008, 8:29:30 PM5/3/08
to
What is the equalivent for the compiler directive SET
SOURCEFORMT"FREE" in NetExpress to be compiled under Rmcobol 85 ?
Where can I find a good documentation for Rm-cobol 85 ?

Richard

unread,
May 4, 2008, 6:07:24 PM5/4/08
to
On May 4, 12:29 pm, happytoday <ehabaziz2...@gmail.com> wrote:
> What is the equalivent for the compiler directive SET
> SOURCEFORMT"FREE" in NetExpress to be compiled under Rmcobol 85 ?

There probably isn't one. RM Cobol 85 requires the source code to be
in Cobol 85 format.

"FREE" is a MF extension designed to inhibit the transfer of code to
other compilers and ensure that MF locks in its users.

> Where can I find a good documentation for Rm-cobol 85 ?

You should have received a full set of manuals when you purchased the
compiler.

William M. Klein

unread,
May 4, 2008, 10:59:28 PM5/4/08
to
Actually, the Micro Focus "sourceformat(FREE)" directive works ALMOST exactly as
free form reference format was defined in the '02 ANSI/ISO Standard - and is
also similar (as I recall) to that which has been available in at least one
flavor of Unisys COBOL compilers for years.

I do not know if RM had/has such a feature or not. The OP should check his/her
documentation (as was suggested below).

--
Bill Klein
wmklein <at> ix.netcom.com
"Richard" <rip...@azonic.co.nz> wrote in message
news:4c7aaf36-658e-4128...@w5g2000prd.googlegroups.com...

Robert

unread,
May 5, 2008, 2:15:55 AM5/5/08
to
On Sun, 4 May 2008 15:07:24 -0700 (PDT), Richard <rip...@azonic.co.nz> wrote:

>On May 4, 12:29 pm, happytoday <ehabaziz2...@gmail.com> wrote:
>> What is the equalivent for the compiler directive SET
>> SOURCEFORMT"FREE" in NetExpress to be compiled under Rmcobol 85 ?
>
>There probably isn't one. RM Cobol 85 requires the source code to be
>in Cobol 85 format.
>
>"FREE" is a MF extension designed to inhibit the transfer of code to
>other compilers and ensure that MF locks in its users.

Fujitsu and Realia supported free form. Only IBM insisted on punched card format.

Free form is in the 2002 Cobol Standard.

happytoday

unread,
May 8, 2008, 3:03:51 PM5/8/08
to

I need it to try come cobol examples containing that statement :
SOURCEFORMAT"FREE"

SO I need a free compiler that support that directive .

Thanks

Robert

unread,
May 8, 2008, 7:11:03 PM5/8/08
to

Or you need a Cobol beautifier.

Robert

unread,
May 8, 2008, 7:14:52 PM5/8/08
to
On Thu, 8 May 2008 12:03:51 -0700 (PDT), happytoday <ehabaz...@gmail.com> wrote:

Fujitsu offers a free compiler that supports free format.

William M. Klein

unread,
May 8, 2008, 9:07:45 PM5/8/08
to
Both Micro Focus and Fujitsu have compilers that are free (or virtually so) for
"personal" (not business) purposes. Both of them support free format reference
format.

SOURCEFORMAT"FREE"
is the style that Micro Focus uses

@OPTIONS SRF(FREE, FREE)
is the way the Fujitsu specifies it.

See the archives of comp.lang.cobol for how to get the "free" (ore relatively
so) versions of the Micro Focus and Fujitsu compilers.

***

To the best of my knowledge, RM does NOT supply a free/low-cost compiler that
supports free format reference format - which I think might have been the
original (misleading) question.

--
Bill Klein
wmklein <at> ix.netcom.com

"happytoday" <ehabaz...@gmail.com> wrote in message
news:fc2f703a-5f8f-4554...@25g2000hsx.googlegroups.com...

happytoday

unread,
May 9, 2008, 2:32:47 AM5/9/08
to
On May 9, 4:07 am, "William M. Klein" <wmkl...@nospam.netcom.com>
wrote:

> Both Micro Focus and Fujitsu have compilers that are free (or virtually so) for
> "personal" (not business) purposes.  Both of them support free format reference
> format.
>
>   SOURCEFORMAT"FREE"
>     is the style that Micro Focus uses
>
>  @OPTIONS SRF(FREE, FREE)
>    is the way the Fujitsu specifies it.
>
> See the archives of comp.lang.cobol for how to get the "free" (ore relatively
> so) versions of the Micro Focus and Fujitsu compilers.
>
>    ***
>
> To the best of my knowledge, RM does NOT supply a free/low-cost compiler that
> supports free format reference format - which I think might have been the
> original (misleading) question.
>
> --
> Bill Klein
>  wmklein <at> ix.netcom.com"happytoday" <ehabaziz2...@gmail.com> wrote in message

>
> news:fc2f703a-5f8f-4554...@25g2000hsx.googlegroups.com...
> On May 5, 9:15 am, Robert <n...@e.mail> wrote:
>
> > On Sun, 4 May 2008 15:07:24 -0700 (PDT), Richard <rip...@azonic.co.nz> wrote:
> > >On May 4, 12:29 pm, happytoday <ehabaziz2...@gmail.com> wrote:
> > >> What is the equalivent for the compiler directive SET
> > >> SOURCEFORMT"FREE" in NetExpress to be compiled under Rmcobol 85 ?
>
> > >There probably isn't one. RM Cobol 85 requires the source code to be
> > >in Cobol 85 format.
>
> > >"FREE" is a MF extension designed to inhibit the transfer of code to
> > >other compilers and ensure that MF locks in its users.
>
> > Fujitsu and Realia supported free form. Only IBM insisted on punched card
> > format.
>
> > Free form is in the 2002 Cobol Standard.
>
> I need it to try come cobol examples containing that statement :
> SOURCEFORMAT"FREE"
>
> SO I need a free compiler that support that directive .
>
> Thanks

What about the RM-COBOL 85 . Does not support that directive ?

William M. Klein

unread,
May 9, 2008, 6:14:26 PM5/9/08
to
NO - as stated by several responders. RM does NOT support free form reference
format.

To use the examples requiring that, "move" all source lines 8 columns to the
right (and make certain nothing goes over column 72. Then the examples should
work.

HOWEVER, that doesn't mean the examples don't use other features that don't work
with RM COBOL.

--
Bill Klein
wmklein <at> ix.netcom.com

"happytoday" <ehabaz...@gmail.com> wrote in message

news:584cd6a2-7a42-4db2...@b1g2000hsg.googlegroups.com...

0 new messages