gnucobol-users
[Top][All Lists]
Advanced

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

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


From: Bill Klein
Subject: [open-cobol-list] RE: Linkage Section and maintaining addressability
Date: Mon Dec 5 23:38:01 2005

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 :
> support.microfocus.com
> Documentation -> Server Express 4.0 -> Reference -> Compiler 
> Directives.
> 
> Roger
> 
> >It appears to me that the '02 Standard (and BASED items) 
> works DIFFERENTLY
> >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]