I guess you are right the C routines are exported functions I can put all of 
them in the pre-init table and reference each of them with the token and proper 
index the onky thing I’m not sure about is the exported data items whether I’ll 
be able to reference them in the functions 

Thanks for the idea



> On Oct 30, 2019, at 6:48 AM, David Crayford <dcrayf...@gmail.com> wrote:
> 
> On 2019-10-30 3:35 PM, Joseph Reichman wrote:
>> I haven’t spent hours but days I have found that it worked for a C program 
>> but not a assembler that’s had the CELQPRLG macro
>> I tried it in the following manners
> 
> Why not use C? I'm struggling to think of a use-case for calling an LE 
> assembler program using PIPI.
> 
> 
>> With out the service rtns parm getting a a x’20’
>> 
>> With the service rtns specifically CELQWLOD tracing it
>> 
>> Without an address entry in the CELQPITY table getting a x’20’
>> 
>> With address entry in the CELQPITY aborting with a S0C4
>> 
>> Using the ADD_ENTRY call after
>> INIT_MAIN/SUB getting a S0C4 on the ADD_ENTRY call
>> 
>> From memory I don’t recall anyone saying they used CELQPIPI to initialize an 
>> assembler program with the CELQPRLG
>> Macro
>> 
>> Thanks
>> 
>>> On Oct 30, 2019, at 12:44 AM, David Crayford <dcrayf...@gmail.com> wrote:
>>> Joe,
>>> 
>>> You should know the answer to your question because it is clearly 
>>> documented that you can 
>>> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.ceeam00/piniint.htm.
>>> 
>>> This thread has been meandering on a bit. Why don't you just copy the 
>>> example from the book which does an INIT_MAIN/CALL_MAIN and get back to us 
>>> if you have any problems. We have used
>>> CEEPIPI extensively in our products and it's not a difficult service to 
>>> use. CELQPIPI is just the 64-bit analog of CEEPIPI so you should be able to 
>>> get something working in a couple of hours using the
>>> example -> 
>>> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.ceeam00/coreyex.htm.
>>> 
>>> 
>>>> On 2019-10-30 2:44 AM, Joseph Reichman wrote:
>>>> In light of the recent posts
>>>> 
>>>> Would anybody know if I can use INIT_MAIN using CELQPIPI to initialize a 
>>>> 64 bit CELQPRLG assembler which calls a 64 bit C DLL export
>>>> 
>>>> 
>>>> Thanks
>>>> ----------------------------------------------------------------------
>>>> 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
>> ----------------------------------------------------------------------
>> 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

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