Who created the VSAM file?
-
- Registered Member
- Posts: 10
- Joined: Sun Feb 21, 2016 9:09 am
Who created the VSAM file?
Hi,
Can you tell if there is a way to tell who has created a given VSAM file? Like the way we can find it for PDS using "G" in front of the PDS. Can we produce similar results for VSAM too? Please let me know.
Can you tell if there is a way to tell who has created a given VSAM file? Like the way we can find it for PDS using "G" in front of the PDS. Can we produce similar results for VSAM too? Please let me know.
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: Who created the VSAM file?
Try this
Code: Select all
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
LISTCAT ENT('<VSAM FILE NAME>') ALL
/*
zprogrammer
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Who created the VSAM file?
Questions like this are always tough to answer -- partly because you didn't provide enough information, and partly because the answer may well depend upon the site. For example, if the VSAM data set (only Unix System Services on z/OS has files -- VSAM is not in Unix and hence is not a file, although a VSAM data set could be a Unix mount point which is totally off the point) was created by a batch job and the batch job was run by the scheduler and the batch job was added to the schedule 11 years ago by someone who hasn't worked for the company for 4 years and the OWNER field was set in IDCAMS to someone who hasn't worked for the company in 2 years -- who created the VSAM data set?Can you tell if there is a way to tell who has created a given VSAM file?
Furthermore, I suspect the putting a 'G' in front of the data set may be something site-specific to your site, so you may want to talk to your site support group about your request.
- Anuj Dhawan
- Founder
- Posts: 2803
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Who created the VSAM file?
LISTCAT can have owner listed as "NULL"! May be you can look at SMF Record Type 61 which is written during any processing that results in a DEFINE request to Catalog Management Services. But even though what Robert has said remains very much relevant.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 10
- Joined: Sun Feb 21, 2016 9:09 am
Re: Who created the VSAM file?
I know LISTCAT but it does not talk about any 'creator' of it? Where should I look for this info? Or you mean something else by this job?Pandora-Box wrote:Try this
Code: Select all
//STEP01 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSIN DD * LISTCAT ENT('<VSAM FILE NAME>') ALL /*
-
- Registered Member
- Posts: 10
- Joined: Sun Feb 21, 2016 9:09 am
Re: Who created the VSAM file?
What further info you might need Robert? But I understand the way you explain it. But for test and QA testing we might need such information, even there it can not be done?
G worked for me for both the companies worked for, so I thought it's a universal command.
G worked for me for both the companies worked for, so I thought it's a universal command.
- Anuj Dhawan
- Founder
- Posts: 2803
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Who created the VSAM file?
Unless 'am mistaken, he meant you to look for OWNER in the LISTCAT listing.VijayMatutiDeshekar wrote:I know LISTCAT but it does not talk about any 'creator' of it? Where should I look for this info? Or you mean something else by this job?Pandora-Box wrote:Try this
Code: Select all
//STEP01 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSIN DD * LISTCAT ENT('<VSAM FILE NAME>') ALL /*
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Global Moderator
- Posts: 827
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Who created the VSAM file?
I checked the ISPF ( zOS 2.1 ) manuals for the G commandG worked for me for both the companies worked for, so I thought it's a universal command.
and it is used on the member list panel to reset the ispf statistics
wiser to double check before posting misleading information ( whatever the source might be )B Browse the member
C Copy the member
D Delete the member
E Edit the member
I Data set information
G Reset the member
J Submit the member
M Move the member
P Print the member
R Rename the member
T TSO command
VView the member
W WS command
= Repeat last command
and anyway the ID is available ONLY for PDS[e] members with the statistics turned on
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Registered Member
- Posts: 10
- Joined: Sun Feb 21, 2016 9:09 am
Re: Who created the VSAM file?
oh sorry for the confusion it might created. What I meant was G in front of the member of a PDS and not of PDS.
-
- Global Moderator
- Posts: 827
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Who created the VSAM file?
and it is used on the member list panel to reset the ispf statistics
thats exactly what the quote tellsWhat I meant was G in front of the member of a PDS and not of PDS.
You are still confusing things
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Registered Member
- Posts: 10
- Joined: Sun Feb 21, 2016 9:09 am
Re: Who created the VSAM file?
Enrico I am afraid that I am not following you. Can you explain what do you want to convey?
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute