IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to find cobol program library


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srkumar422

New User


Joined: 27 Mar 2006
Posts: 16

PostPosted: Fri Jan 22, 2010 6:57 pm
Reply with quote

Hi
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?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 22, 2010 7:04 pm
Reply with quote

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.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jan 22, 2010 7:04 pm
Reply with quote

speak to the powers of Your organization
where the program sources are kept is organization/setup dependent,
little can be said on something we cannot know about
Back to top
View user's profile Send private message
srkumar422

New User


Joined: 27 Mar 2006
Posts: 16

PostPosted: Fri Jan 22, 2010 9:18 pm
Reply with quote

Thank you very much. I will check with my manager.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Sat Jan 23, 2010 12:46 am
Reply with quote

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
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top