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

How to find out JCL, which created file?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
autiamit

New User


Joined: 03 May 2005
Posts: 2
Location: Zion

PostPosted: Tue Sep 19, 2006 6:57 pm
Reply with quote

Hi All,
I came across one problem. I want to find the JCL which created the file.
I tried with TSO DTXREF. CAn anybody sugget something for this?


Thanks,
Amit
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Sep 19, 2006 7:31 pm
Reply with quote

Amit,

I think U can also use FAIRSCAN for that
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Tue Sep 19, 2006 7:39 pm
Reply with quote

SMF record type 61 will tell you the creator of the dataset.

The relevent links follow:

SMF records http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2G251/CCONTENTS?DT=20050118142228
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Sep 19, 2006 7:43 pm
Reply with quote

hi Amit,

Everyshop should have itz own method of finding the JOB/proc/Program which creates a Dataset.


TSO DTXREF/ TSO XREFDSN..etc are few of them for the same purpose.

If your shop have a schdular like CA-7....
You can get the information with the command
LQ DSN=ur.dsn.name.

Can't recall the Command. Correct me if i am wrong.

~Vamsi
Back to top
View user's profile Send private message
rocksolid

New User


Joined: 29 Aug 2006
Posts: 21
Location: India

PostPosted: Wed Sep 20, 2006 2:58 pm
Reply with quote

Hi,

If ur shop has PDSMAN, it will contain EZ option, where u can give ur freequently using libraries.

U can take ur production PRCLIB and give the scan for required dataset.

This is what we do in our work place.

Thank you,
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Wed Sep 20, 2006 5:00 pm
Reply with quote

By default SMF61 will supply the jobname that created the dataset not the userid of the person who created it.
Back to top
View user's profile Send private message
dhanya_prem

New User


Joined: 20 Sep 2006
Posts: 2

PostPosted: Fri Sep 22, 2006 2:05 pm
Reply with quote

1. In CA-7 screen, type LDSN,DSN=<dsn-name>,list=all
2. If dataset in tape, we can find the date and job which created it through TMS (Tape Management Subsystem)
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top