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
 

 

How to get the name of the job which is created a PS file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Wed Feb 04, 2009 10:45 am    Post subject: How to get the name of the job which is created a PS file.
Reply with quote

Hi
How to get the name of the job which is created a PS file.


For example, i am having a file callled 'A' and its catalogued in DASD.I want to know the name of the job.

Please let me know if anybody knows.

Thanks & regards
Sampath
Back to top
View user's profile Send private message

km_abdullah

New User


Joined: 03 Nov 2008
Posts: 60

PostPosted: Wed Feb 04, 2009 11:00 am    Post subject:
Reply with quote

Hello,

Do you know the PDS where all the Jobs reside? If so then you can search this Job library using 'SRCHFOR' option with the PS name. The member which contains the PS name with DISP=,CATLG is the one which creates this dataset.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Feb 04, 2009 11:03 am    Post subject:
Reply with quote

Hi Mohamed,


that is not conclusive, the file could have been created by anybody that has access to do so.

SMF data can help.


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

New User


Joined: 03 Nov 2008
Posts: 60

PostPosted: Wed Feb 04, 2009 11:08 am    Post subject:
Reply with quote

Ok. Thanks Gerry. I failed to recognise several other ways of creating the dataset.
But if he is sure that a Job creates that PS then my solution is one way of identification.

Thanks for correcting me.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Sun Feb 08, 2009 12:06 pm    Post subject: Reply to: How to get the name of the job which is created a
Reply with quote

Hi Gerry,
Thanks for your replies.I am not having a idea about SMF.Will you please make me clear about this concept.

Hi Mohamed,
If we know the PDS name,there is no need to exeute the JCL.we can get the name using 3.14 options.

My question is we are having a jcl and its having a PS.He/She executed the JCL and the job creates the PS.i want to know the name of the job and id of the person executed the job.

Thanks & Regards
Sampath
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Sun Feb 08, 2009 8:43 pm    Post subject:
Reply with quote

System Management Facility (SMF) is a subsystem of z/OS that records data about the system. If you look on IBM's web site and search for SMF you'll find lots of information about it. SMF consists of more than 100 record types for the different subsystems and records a multitude of data including datasets created by a job. However, unless you're already using a package such as MICS or MXG to process the SMF data, it can be very difficult to extract what you need from the SMF records since SMF records data at the bit level in many cases and uses variable length records. SMF also records interval statistics at intervals set by your systems support group. SAS is probably the best tool for accessing the raw SMF data, followed by HLASM. You do not want to access it with COBOL unless you can get very clever with bits.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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