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
 

 

Finding the source location from where a job was submitted!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Finding the source location from where a job was submitted!
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: 1738
Location: Bloomington, IL

PostPosted: Tue Aug 27, 2013 7:34 pm    Post subject:
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    Post subject:
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: 175
Location: UK

PostPosted: Wed Aug 28, 2013 1:38 pm    Post subject:
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    Post subject:
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: 1738
Location: Bloomington, IL

PostPosted: Wed Aug 28, 2013 7:34 pm    Post subject:
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: 6258
Location: Mumbai, India

PostPosted: Wed Aug 28, 2013 8:14 pm    Post subject:
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: 6258
Location: Mumbai, India

PostPosted: Wed Aug 28, 2013 8:19 pm    Post subject:
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: 1738
Location: Bloomington, IL

PostPosted: Wed Aug 28, 2013 8:27 pm    Post subject:
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    Post subject: Reply to: Finding the source location from where a job was s
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: 1715
Location: UK

PostPosted: Tue Sep 03, 2013 12:14 am    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm
No new posts Mainframe opening for 3 to 10 yrs exp... Placementatpune Mainframe Jobs 0 Tue Jul 05, 2016 12:02 pm
No new posts Finding repetead surnames in differen... blackjack202 DFSORT/ICETOOL 7 Tue Jun 07, 2016 7:42 pm
This topic is locked: you cannot edit posts or make replies. Locating the source code. Raghur CLIST & REXX 17 Mon Apr 04, 2016 2:29 pm


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