We are production monitors. So we will just monitor if any job abends and inform to the analyst.
I got a S0C7 abend for one job at step STEPB50. this step exec statement is as follows.
//STEPB50 EXEC PGM=OPHSTRLW,COND=(4,LT),PARM='DAILY'
The program OPHSTRLW load module I can find using JOBLIB dd card and it is //JOBLIB DD DSN=COOP.PROD.LOADLIB,DISP=SHR.
My question is, I want to see the cobol program, but the program library is not known for us. Is there any way to find the library where the cobol program is?
Joined: 06 Jun 2008 Posts: 8280 Location: Dubuque, Iowa, USA
Different sites have different ways of storing source code; there is no standard way to do so. You must contact the applications group responsible for the program to find out where the source is -- depending upon your site, it could be in a PDS, Librarian file, Endevor file, Panvalet file, Changeman file, etc, etc, etc.
The one exception... if the program is compiled for debug using certain versions of the IBM debugger, the source library name may be visible in the load library member because the debugger uses that to find the source. A debug version in production is probably rare, but I thought I'd mention it anyway