Getting PLAN name in a COBOL/DB2 OS/390 batch program

Gary V Scarcella

Getting PLAN name in a COBOL/DB2 OS/390 batch program
Does anyone know a better way of getting the PLAN name in a COBOL/DB2 OS/390
batch program during its execution? (running with PGM=IKJEFT1B)

My only idea is to read the SYSTSIN file (or a copy of it) into the COBOL
program and parse the RUN PROGRAM(...) PLAN(...) control card. I've gotten
this to work but was wondering if something better/simpler is possible.

Thanks,
Gary.

Gary Scarcella
Internet address: [login to unmask email]