Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Find Library where the JCL resides??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gamarendra

New User


Joined: 12 May 2006
Posts: 13
Location: bangalore

PostPosted: Wed May 31, 2006 5:23 am    Post subject: How to Find Library where the JCL resides??
Reply with quote

Hi,
If someone submits a JCL from His personel PDS(outside the scheduler),how to find the PDS(library) where the Original JCL resides??

Amar
Back to top
View user's profile Send private message

Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Wed May 31, 2006 10:49 am    Post subject: Re: How to Find Library where the JCL resides??
Reply with quote

Is it even possible to find it straight up? All your requests go to JES2/JES3, which is a sub-system, an entity separate from your storage. I don't think JES2 has a tracking mechanism to record the origin of the requests made.. or does it?
Even if a job is submitted through a scheduler, you can't see the origin of submit through JES2.

However, if there is any proc used in the JCL, JESYSMSG will tell you where the proc was picked from.

For your problem, since the owner (user ID) who submitted the job can be identified from job log, can't you scan the user ID to find out the JCL library (s)he was using?

Regards,
Bharani.
Back to top
View user's profile Send private message
gamarendra

New User


Joined: 12 May 2006
Posts: 13
Location: bangalore

PostPosted: Wed May 31, 2006 11:23 pm    Post subject: Re: How to Find Library where the JCL resides??
Reply with quote

Bharani,
if the job sumitted thru a scheduler For Eg(ESP) we can find the JCL Library where from it copied Like below.


//* JCL COPIED TO XXXXED.PRODXXXX.ESPCOPY
//* JCL FROM XXXXX.T0X.EXECLIB(XXXXC5415)

But my concern is to find the Jcllibrary of the job which submitted outside the scheduler.
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Thu Jun 01, 2006 10:29 am    Post subject: Re: How to Find Library where the JCL resides??
Reply with quote

I apologize. I didn't verify my scheduler job properly. Even my scheduler (CA-7) contains the JCL library. But since these comment lines are inserted by schedulers, I am not sure if it's possible to retrieve the JCL library purely using JES2 log, since I am an application programmer.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to save expanded jcl's into one l... enrico-sorichetti CLIST & REXX 11 Thu Jul 27, 2017 2:45 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us