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
 
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: 1781
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: 182
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: 1781
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: 1781
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: 1922
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
No new posts How to Extract BMS Marco Source from ... Howard Hinman CICS 5 Tue Oct 31, 2017 11:13 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Finding IMS resource blocker after se... Hooman24 IMS DB/DC 1 Wed Aug 16, 2017 9:17 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm

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