I am doing some utility routines for a product I'm working on.
I have used ISPQRY in REXX code but that was under IKJEFT* (I have tried it with various combinations).
So I thought I'd just stick a dynamic call to ISPQRY into a COBOL program and have it spit out what it got back.
So, if the LOAD failed, I'd probably get a S806 -- But as someone noted, if it was in a "global" library(s) (I didn't go run it down to see if it was specifically in "LPA"). And so I got RC=20 from it.
Now, this is in preparation for that same COBOL program to do BPXWDY2 (entry into BPXWDYN), and ISPF/PDF LM* code to find members in the passed in DSN.
The next test will be after putting in the requisite ISPF DDs and see how that functions.
But the point is, ISPQRY did function and tell me that the environment was not there.
I'm hoping that I can do this without having to use IKJEFT* . Regards, Steve Thompson ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN