On 6/22/2011 13:36, Daniel Rose wrote:
I had a COBOL programmer ask me how they could get the LPAR name, SYSNAME,
or SMFSID from a COBOL program.  I could not find a LE Function that would
do that.  So, a co-worker located a sample program that chases controls to
get that information.

Does anybody know of any LE Functions or a cleaner way to do this.

BTW, the programmer does not want to add a SORT step before the COBOL
program nor do they want to change the execution JCL.  Hence the restriction
of only obtaining this from inside the COBOL program.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Yes there is a LE/COBOL'ish method, will hunt up an example when I get back to the office.
Regards, Doug

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to