Finding the job details



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Finding the job details

Postby mohbaig » Mon Nov 18, 2013 11:53 am

I am using the line command $US which is providing me the info. of the job name which has referred/used the file for the last time.
Is there any way to find out the job name which has created a file.
mohbaig
 
Posts: 28
Joined: Sun Nov 10, 2013 10:55 pm
Has thanked: 7 times
Been thanked: 0 time

Re: Finding the job details

Postby steve-myers » Mon Nov 18, 2013 6:26 pm

A program that can analyze the SMF data created when the data set was used can determine the job name that used the data set, but I know of no other way to determine this information.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Finding the job details

Postby Robert Sample » Mon Nov 18, 2013 7:10 pm

As Mr. Myers indicated, the data set creator is not stored with the data set and the ONLY source of this information is the SMF records. Most sites accumulate SMF data daily, but if the data set were created several years ago, it is unlikely that the site has retained the SMF data going back that far (but only someone working at your site can say for sure).

Also, data sets may be created by TSO users or started tasks as well as batch jobs, so you may be limiting your output if you only look at batch jobs.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Finding the job details

Postby mohbaig » Mon Nov 18, 2013 9:30 pm

Thanks for the knowledge guys.appreciate the response.
mohbaig
 
Posts: 28
Joined: Sun Nov 10, 2013 10:55 pm
Has thanked: 7 times
Been thanked: 0 time

Re: Finding the job details

Postby steve-myers » Mon Nov 18, 2013 9:50 pm

Robert Sample wrote:... Also, data sets may be created by TSO users or started tasks as well as batch jobs, so you may be limiting your output if you only look at batch jobs.
Actually, it is moderately difficult to differentiate between a TSO user, a batch job and a started task using SMF data, but otherwise Mr. Sample is correct. I run a process to report data set usage from SMF data twice a day, and I run into this very problem when I analyze the output.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post