MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to find out where the dataset is created

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
kavi
Beginner


Joined: 15 Sep 2006
Posts: 64
Topics: 22

PostPosted: Mon Oct 16, 2006 4:50 am    Post subject: How to find out where the dataset is created Reply with quote

Hi All,
I have a job and it creates a new generation say G0001V00. When I am looking it in 3.4 it shows another version G0002V00 also. Is there any way to find out the dataset from where or which job creates it.
Please help me in this.

Regards
kavi
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Mon Oct 16, 2006 5:43 am    Post subject: Reply with quote

Kavi,

I guess you were already having G0001V00 dataset before the run of the job , so when u ran the job it might have created a new generation G0002V00.Try deleting all generations in 3.4 and run the job once again.

For the answer to your second question, go to option 3.14 and search for say the dataset 'USERID,TEST.G(+1) in the PDS say for example USERID.TEST.JCLS(*) , so it will show you the job name as well the DD name which creates the +1 generation in other words it will show you the line in the JCL which creates it by this way u can know the JOb name.Hope it helps.
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Oct 16, 2006 10:55 am    Post subject: Reply with quote

SMF history data can show what job creates a dataset. See if your site accumulates SMF data and check out the TYPE15 records for the given time period.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
THRIVIKRAM
Beginner


Joined: 03 Oct 2005
Posts: 70
Topics: 34

PostPosted: Wed Oct 25, 2006 8:35 am    Post subject: Reply with quote

Hi Bill Dennis,

How to get to this SMF history data? I tried "tso smf" and mainframe said:
SESSION MANAGER IS NOT ACTIVE - SMFIND IGNORED.

Thanks,
Thrivikram.
Back to top
View user's profile Send private message Send e-mail
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Oct 25, 2006 12:41 pm    Post subject: Reply with quote

SMF data is written to files by a system task. These files are typically offloaded to tape when full and archived. Someone at your site (SysProgs or ??) will know where these files are and if you can access them. They may already have utility pgms to search for activity based on dataset name.

The System Management Facility manual explains the various record type. Type 15 (x'0F') are the "dataset opened for output" records.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group