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

How to Find Library where the JCL resides??


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Calling an Open C library function in... CICS 1
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Duplicate several members of/in one l... JCL & VSAM 7
Search our Forums:

Back to Top