Does this pragma imply that parameters are passed by reference? I hope so. 
Because, if not, the last by value parm will get the first bit set, which 
changes its value. 

Kind regards

Bernd



Am Mittwoch, 8. Juni 2005 17:17 schrieben Sie:
> Never mind.  "#pragma linkage (func,OS)" DOES indeed provide VL=1 bahavior.
> In reviewing the object code listing I missed the setting of the VL=1 bit
> in code prior to the actual function call.
>
> Peter
>
> -----Original Message-----
> From: Farley, Peter x23353
> Sent: Wednesday, June 08, 2005 10:32 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: z/OS C: VL=1 for parameter lists?
>
>
> I have RTFM'd everywhere I can, but nowhere do I see an option or a pragma
> to tell the compiler to use the "VL=1" parameter list convention when
> calling an OS-style subroutine, i.e. mark the last parameter in the list
> with X'80'.  Is there any way to force this behavior?  "#pragma(func,OS)"
> does NOT cause this behavior.
>
> Environment is z/OS 1.4 if it makes a difference.
>
> Peter

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to