So using these pragmas did not stop the fetch error?

#pragma(IGGCSI00, FETCHABLE)
#pragma(IGGCSI00, OS_UPSTACK)

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Pierre Fichaud
Sent: Tuesday, December 18, 2018 1:25 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: 64-bit C code fetching IGGCSI00

I have 64-bit C code that attempts to fetch() IGGCSI00.
I've used pragma linkage on IGGCSI00 but got nowhere.
I am getting the following:

EDC5256S An AMODE64 application is attempting to fetch() an AMODE31 executable. 
(errno2=0xC4070068)

The C program was compiled with :
langlvl(LIBEXT),ARCH(5),TUNE(7),GONUMBER,FLAG(I),XPLINK(STOREARGS),EXPORTALL,SPILL(448),LP64,GOFF

Reading the doc on fetch() and XPLINK in the C/C++ and LE bookshleves doesn't 
shed nay light on this.
I think I am forced to write a64-bit assembler program that then calls IGGCSI00 
with parameters in 31-bit memory.

Any suggestions ?

Thanks in advance, 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

Reply via email to