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: [email protected]
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

_
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

----------------------------------------------------------------------
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