Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us