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

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


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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
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: 1702
Location: Australia

PostPosted: Wed Feb 04, 2009 11:03 am
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Feb 08, 2009 8:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top