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

Dataset invoking JCL


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lokeshwar_manoharan

New User


Joined: 22 Sep 2008
Posts: 49
Location: Chennai,Tamilnadu

PostPosted: Wed Feb 25, 2009 11:54 am
Reply with quote

When I give SJ from spool, I can view the JCL. From which dataset the JCL is invoked?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Feb 25, 2009 2:58 pm
Reply with quote

The JCL what you submitted will be shown. I guess you can't find out from which dataset, the JCL has been submitted.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Feb 25, 2009 4:09 pm
Reply with quote

I can't think of anywhere that the DSN from which a job was submitted is recorded, so purely from the operating system there's no way to tell. If you're using a scheduling package like CA-7, you can determine the source of the job by reviewing the scheduling package information about the job.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Feb 25, 2009 4:19 pm
Reply with quote

Hi,

some of the scheduling packages I have used actually add a couple of lines to the submitted JCL and include where the JCL was submitted from as well as the location of where the the job was scheduled from etc.


Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Feb 25, 2009 4:39 pm
Reply with quote

Methinks that the OP wants to know from where JES gets the displayed JCL when SJ is entered against the output.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 25, 2009 9:36 pm
Reply with quote

Hello,

Quote:
Methinks that the OP wants to know from where JES gets the displayed JCL
Me too. . .

SJ gets the submitted jcl from jes - it is not in some easily referenced external pds or ps dataset as far as i know. . .

A bit of clarification from OP would be helpful icon_rolleyes.gif
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top