Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to find cobol program library

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: how to find cobol program library
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 22, 2010 7:04 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Fri Jan 22, 2010 7:04 pm    Post subject: Reply to: how to find cobol program library
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    Post subject:
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: 401
Location: Mumbai

PostPosted: Sat Jan 23, 2010 12:46 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us