View previous topic :: View next topic
|
Author |
Message |
surajsrk
New User
Joined: 13 Jun 2006 Posts: 4 Location: bangalore
|
|
|
|
Hi!
I am thinking of creating a REXX tool which can find out all files created bu user on mainframe.
Can anybody help me with this ?
Any specific function/command which serves this purpose ?
- Thanks,
Suraj. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
How are you planning on doing this? In general, a file in z/OS does not have any field indicating the creator so I want to find out what process you're going to use to derive this data. |
|
Back to top |
|
|
surajsrk
New User
Joined: 13 Jun 2006 Posts: 4 Location: bangalore
|
|
|
|
In Mainframes. All files created by a user will have his/her ID as high level qualifier.
So, I want to get all such files which have a perticular user ID as a high level qualifier.
EX: <HLQF>.* will give all files created by user ID : HLQF.
I want to code REXX EXEC which does this. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SYS1.SAMPLIB(IGGCSIRX) and off you go. It accepts all * ** % and %% file filtering capabilities.
Quote: |
In Mainframes. All files created by a user will have his/her ID as high level qualifier. |
Not true, I am able to create files with many a different HLQ |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
surajsrk wrote: |
In Mainframes. All files created by a user will have his/her ID as high level qualifier. |
At my shop the HLQ maybe the USERID but it is normally the project code! |
|
Back to top |
|
|
surajsrk
New User
Joined: 13 Jun 2006 Posts: 4 Location: bangalore
|
|
|
|
Thanks !!!
Any Syntax or sample code for SYS1.SAMPLIB(IGGCSIRX) ?
where is the USERID fits in here ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
SYS1.SAMPLIB(IGGCSIRX) IS the code |
|
Back to top |
|
|
|