|
|
| Author |
Message |
anand_smail
New User
Joined: 05 Jun 2005 Posts: 9
|
|
|
|
Hi,
Can anybody help me with my requirement ?
I will be giving a user id as input and in the output I need a file which should have each
file name and its creation date along with it.
For example:
If the input user id is ABCD and there are only 2 datasets present i.e.
1)ABCD.FILE1 (PS)
2)ABCD.FILE2 (PO)
Then I should get in the output both the PS & PO datasets along with their creation date. The output should look like this
ABCD.FILE101/01/2007.
ABCD.FILE201/01/2007.
Please help me out with this.
Thanks,
Anand |
|
| Back to top |
|
 |
References
|
Posted: Wed Apr 25, 2007 3:10 pm Post subject: Re: List all the datasets when a userid is provided |
 |
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3081 Location: Charlotte,NC USA
|
|
|
|
| Please post the code you have so far, and let us know where you are having a problem. |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2565 Location: italy
|
|
|
|
Hi !
depending on the environment You could
1 -issue a "LISTC" command trapping the output
quick and dirty
2- use the IGGCSI00 catalog interface routine
quite sophisticated
3- running under the ISPF umbrella use the library management services
"LMDLIST"
solution number 3 in interactive mode gives You a ready to use service to
display on the screen a filtered dataset list
from an operating system point of view a first level qualifier is just that...
a first level qualifier...
but You should be aware of the implications of a security manager if You plan to further process the dataset list that You create
regards
e.s |
|
| Back to top |
|
 |
Devzee
Senior Member
Joined: 20 Jan 2007 Posts: 714 Location: Hollywood
|
|
|
|
Use IDCAMS utitlity to get dataset information, and then write small utility to read the IDCAMS sysprint output to get the dataset name and creation date.
IDCAMS
| Code: |
LISTC LVL(ABCD) HISTORY |
|
|
| Back to top |
|
 |
|
|