List only Non-GDG datasets using IDCAMS.
-
- Registered Member
- Posts: 31
- Joined: Thu Oct 03, 2013 1:32 pm
List only Non-GDG datasets using IDCAMS.
The LISTCAT ENT(dataset.name) ALL lista all the GDG information. It also lists the NON-VSAM dataset information which qualifies for the name in brackets. I need a way to eliminate all GDG information and get only sequential dataset information.
Can LISTCAT command be modified to eliminate all GDG information and VSAM information and get only the NON-VSAM dataset information which are not GDGs ?
Can LISTCAT command be modified to eliminate all GDG information and VSAM information and get only the NON-VSAM dataset information which are not GDGs ?
Regards
-
- Global Moderator
- Posts: 827
- Joined: Wed Sep 11, 2013 3:57 pm
Re: List only Non-GDG datasets using IDCAMS.
LISTCAT cannot be modified,
But You can build Your own <LISTCAT> , with more flexible filtering using REXX and IGGCSI00
SYS1.SAMPLIB has a working example
But You can build Your own <LISTCAT> , with more flexible filtering using REXX and IGGCSI00
SYS1.SAMPLIB has a working example
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
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: List only Non-GDG datasets using IDCAMS.
Or Also another option trap the output and take/store only the data you need and IIRC, I think that what happens in
IGGCSI00
IGGCSI00
zprogrammer
-
- Global Moderator
- Posts: 827
- Joined: Wed Sep 11, 2013 3:57 pm
Re: List only Non-GDG datasets using IDCAMS.
NOPEI think that what happens in IGGCSI00
80% of the work is done by defining properly the extraction/listing rules
as soon as I will be able to IPL my system I will post an example
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
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: List only Non-GDG datasets using IDCAMS.
I got confused with the program which was in CBT , it could be used to find out information about it from 3.4 option
zprogrammer
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