IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Finding the source location from where a job was submitted!


 
IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Shrinika Rajendran

New User


Joined: 06 Jun 2013
Posts: 25
Location: India

PostPosted: Tue Aug 27, 2013 7:00 pm
Reply with quote

Hi All,

Just curious to know, if there is a way to find out, which PDS/source was a particular job submitted from? Just as, the endevor's master info option 'M' shows from which PDS was that particular element added?

Thanks in advance.
Shrinika.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Aug 27, 2013 7:34 pm
Reply with quote

You should consult your operations workgroup as to how to extract this information your job scheduling package.
Back to top
View user's profile Send private message
Shrinika Rajendran

New User


Joined: 06 Jun 2013
Posts: 25
Location: India

PostPosted: Wed Aug 28, 2013 10:04 am
Reply with quote

I am sorry for not being clear.
I meant to ask about the test jobs in spool not the scheduled jobs!

Thanks.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 197
Location: UK

PostPosted: Wed Aug 28, 2013 1:38 pm
Reply with quote

The syslog will show which job/started task/user submitted the job.

From there it may be possible to track down which library it was in.
Back to top
View user's profile Send private message
Shrinika Rajendran

New User


Joined: 06 Jun 2013
Posts: 25
Location: India

PostPosted: Wed Aug 28, 2013 5:20 pm
Reply with quote

Hi,
I would know the library from C1MSGS1 or C1MSGS2 if it were an element added to endevor. Which again can also be checked from the endevor master info.

I need to track the library as you said, for the test jobs/JCLs submitted, that are in spool.

Thanks again.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Aug 28, 2013 7:34 pm
Reply with quote

Others may have more accurate knowledge than I, but I do not believe that there is anything in vanilla MVS or TSO that tracks the source of a job. Someone in your shop could modify the IKJEFF10 exit for the SUBMIT command, but this is a non-trivial task.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6251
Location: Mumbai, India

PostPosted: Wed Aug 28, 2013 8:14 pm
Reply with quote

I doubt if that kind of a possibility exist, though I can not say for sure. What if the Job was SUBmitted through INTRDR? In general, JCL is read into JES2/3, the converter/interpreter will decipher commands, expands the procedures, resolves data set references, and will do a lot more - but will JES be looking at where the JCL came from... icon_rolleyes.gif

On the other hand, if the job sumitted through a scheduler, e.g. ESP, you can find the JCL Library where it is copied from. Similar is possible in CA-7. But if you're talking about a test Job - I doubt if you've something, as an application developer, to get that - possibly you'll know the user, not the library.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6251
Location: Mumbai, India

PostPosted: Wed Aug 28, 2013 8:19 pm
Reply with quote

Sir John I'm sorry - did not see your message. This happens when you try to juggle a lot from your plate altogether... icon_redface.gif.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Aug 28, 2013 8:27 pm
Reply with quote

Not a problem, Anuj-san icon_smile.gif You are correct in that Sweetie-chan's shop may be using some third-party package or locally-developed tool that writes JCL to the internal reader; I hadn't thought of that.

I don't think that this information can be casually located; it would be necessary to kick back and do some planning and design to ensure it can be gotten in the test environment.
Back to top
View user's profile Send private message
Shrinika Rajendran

New User


Joined: 06 Jun 2013
Posts: 25
Location: India

PostPosted: Thu Aug 29, 2013 8:39 am
Reply with quote

Thanks for your promt replies.

Just wanted to know if it really is even possible before reaching out to my people here. I will come back here if I get any fruitful replies.

Thanks again.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2432
Location: Hampshire, UK

PostPosted: Tue Sep 03, 2013 12:14 am
Reply with quote

I am sorry but your people is where you should have started. A forum is a place of 'last resort'!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts can someone please help me in finding... IBM Tools 9
No new posts how to show listing in physical locat... PL/I & Assembler 2
This topic is locked: you cannot edit posts or make replies. Finding the age of the person COBOL Programming 1
No new posts Finding Esoteric Unit Names Programma... All Other Mainframe Topics 2
No new posts Related to performing validation of f... DFSORT/ICETOOL 19

Back to Top