I would expect the pragma to affect the call, not the fetch.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Farley, Peter x23353 <peter.far...@broadridge.com> Sent: Wednesday, December 19, 2018 12:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: 64-bit C code fetching IGGCSI00 Hmm-m-m. Maybe #pragma linkage (IGGCSI00, OS_NOSTACK) would work? Also, investigate your C compile listing, what is the compiler option XPLINK set to? I get the impression from RTFM about the XPLINK option that XPLINK(OSCALL(NOSTACK)) is the default when LP64 is in effect, is that true for your compile? If so, maybe #pragma linkage(IGGCSI00,OS) would satisfy the runtime system? Just guessing here, haven't had time to cobble together a real example. As you said, hopefully someone from C/LE development can chime in and enlighten us all. Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Pierre Fichaud Sent: Wednesday, December 19, 2018 9:29 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: 64-bit C code fetching IGGCSI00 Peter, Using FETCHABLE gives me the same error. With OS_DOWNSTACK I get the followig when I build: CCN6404 (W) The parameter "OS_UPSTACK" specified for "pragma linkage" is not valid. The pragma is ignored. I ran it anyway and got the same thing. I can't believe that an AMODE 31 module can't be fetched by 64-bit C code. __malloc31() can be used to get 31-bit storage. Maybe someone from the C/LE IBM lab can add to this. Regards and thanks, Pierre. -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN