[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] RE: Linkage Section and maintaining addressability

From: Roger While
Subject: [open-cobol-list] RE: Linkage Section and maintaining addressability
Date: Tue Dec 6 01:35:04 2005

STICKY is default for the "VS" (and variants), "370", "390" dialects.
NOSTICKY is default for MF, ISO2002, ANSI85 and BS2000 !!


Sorry, I was used to the "IBM Mainframe compatibility" features. In MFEE, I
think you will find that STICKY-LINKAGE is the default for most (all?)
directive files.  You are correct, however, that the compiler itself
defaults to "nosticky-linkage".

> -----Original Message-----
> From: Roger While [mailto:address@hidden
> Sent: Tuesday, December 06, 2005 1:10 AM
> To: Bill Klein
> Cc: address@hidden
> Subject: Re: Linkage Section and maintaining addressability
> Bill,
> Micro Focus does NOT, per default, save addressability over call's.
> Attempting to reference a non-passed formal linkage-section parameter
> (that has not been the subject of a SET ADDRESS OF) results
> in a 203 error.
> This changes when implicitly (via DIALECT option) or
> explicitly setting
> the STICKY-LINKAGE option.
> Info on this option at :
> Documentation -> Server Express 4.0 -> Reference -> Compiler
> Directives.
> Roger
> >It appears to me that the '02 Standard (and BASED items)
> >than IBM (and Micro Focus, et al) currently SET ADDRESS
> data.  According to
> >the '02 Standard,
> >
> >"The association ends: ...
> >   - when the based entry is defined in the linkage section,
> at the end of
> >the execution of the runtime element."
> >
> >This is NOT what happens with today's extensions.
> Therefore, different code
> >will need to be done for the two different types of
> "allocated" data items.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]