Have a look here... Youre calling 64bit C from assembler correct? https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ceeam00/clamcal.htm
You'll need to bracket the code with the PRLG and EPIL macros detailed there as well. Joe On Fri, Aug 23, 2019 at 5:34 AM Joseph Reichman <reichman...@gmail.com> wrote: > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ceea400/cee142446.htm > > Thanks I think I need to do this no ? > > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf > Of Joe Monk > Sent: Friday, August 23, 2019 5:16 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: LE 64 bit no main assembler ? > > Perhaps this will help ... > > > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.cbcpx01/cexample.htm > > Joe > > On Thu, Aug 22, 2019 at 10:49 PM Joseph Reichman <reichman...@gmail.com > <mailto:reichman...@gmail.com> > > wrote: > > > Hi > > > > All of the code I have on my system is assembler. The Code is a TCP/IP > > Serve to a Windows Client. I had similar functions in Windows and the > > Mainframe > > > > So I figure I would use the windows code on the mainframe. The code > > use a lot of storage so I decided to go AMODE 64 where by the malloc > > would be from above the bar > > > > I had an Assembler CEEPCALL in 31 bit that worked calling the C Dll > > > > When I went to change it 64 bit both the Calling Assembler and the C > > DLL., I got U4093 reason X'218' the 64 bit Assembler > > > > I saw this thread from IBMMAIN from a few years ago > > > > > > https://www.mail-archive.com/ibm-main@listserv.ua.edu/msg55945.html > > > > > > It seems from the thread that CELQPRLG and CELQCALL Cant Call the 64 > > BIT C Dll > > > > And I would need the Assembler program to Call a 64 BIT C main > > program to Call the C Dll > > > > As I recognize a few of the names on the thread wonder if any one can > > confirm that a) The 64 bit assembler can not call 64 bit C DLL b) the > > Assembler can call a 64 bit C main which would then call the 64 bit C > > Dll > > > > thanks > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, send > > email to lists...@listserv.ua.edu <mailto: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 <mailto: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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN