|
View previous topic :: View next topic
|
| Author |
Message |
vemsanvs
New User
Joined: 26 Aug 2008 Posts: 2 Location: Hyderabad
|
|
|
|
| Hi,i want to list out all the file names that are present in the system by giving the first 4 nodes. for example, if i give abc.def.ghi.ffb then it should list all the files starting with abc.def.ghi.ffb.* but it should not list the generations if any GDG exists. it should list only only the base gdg. Please let me know the syntax how to solve this problem |
|
| Back to top |
|
 |
Pedro
Global Moderator

Joined: 01 Sep 2006 Posts: 2624 Location: Silicon Valley
|
|
|
|
I am not sure how to GDGs are listed here, but I think you want to use the LISTCAT command:
| Code: |
| LISTCAT LEVEL(abc.def.ghi.ffb) |
|
|
| Back to top |
|
 |
Aaru
Senior Member

Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Vem,
| Quote: |
| Hi,i want to list out all the file names that are present in the system by giving the first 4 nodes |
Why don't you try viewing the datasets by giving just the 4 nodes in 3.4 ? |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
| Because that would include all of the cataloged generations, not just the base. |
|
| Back to top |
|
 |
vemsanvs
New User
Joined: 26 Aug 2008 Posts: 2 Location: Hyderabad
|
|
|
|
Hi, thank you for the quick response.
The problem if we give in 3.4 is the number of files are huge. so the following abend is coming. ISPDTSRS received return code 4 from GETMAIN.
When i am giving the listcat level(abc.def.ghi.ffb), it is showing as invalid option |
|
| Back to top |
|
 |
Aaru
Senior Member

Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
| Quote: |
Because that would include all of the cataloged generations, not just the base.
|
Thanks Dick. |
|
| Back to top |
|
 |
Aaru
Senior Member

Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Vem,
| Quote: |
| When i am giving the listcat level(abc.def.ghi.ffb), it is showing as invalid option |
If nothing works out go for REXX. Search the REXX forum for LMDINIT LISTID and you would get some working tested code for your requirement. |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
| Quote: |
| When i am giving the listcat level(abc.def.ghi.ffb), it is showing as invalid option |
Is this now working?
If not, post the jcl, control statement, and the complete diagnostic info presented by the problem run.
Someone here will be able to clarify. |
|
| Back to top |
|
 |
|
|