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 find out JCL, which created file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
autiamit

New User


Joined: 03 May 2005
Posts: 3
Location: Zion

PostPosted: Tue Sep 19, 2006 6:57 pm    Post subject: How to find out JCL, which created file?
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: 1187
Location: Bangalore,India

PostPosted: Tue Sep 19, 2006 7:31 pm    Post subject:
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    Post subject: Re: How to find out JCL, which created file?
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    Post subject:
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    Post subject:
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: 258

PostPosted: Wed Sep 20, 2006 5:00 pm    Post subject:
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    Post subject: Re: How to find out JCL, which created file?
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM 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 find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
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


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