View previous topic :: View next topic
|
Author |
Message |
janvseshan
New User
Joined: 05 Nov 2006 Posts: 3
|
|
|
|
Hi,
I have a PDS which is load dataset. I want to extract the members whose Addressing Mode is 24 (AM = 24)
Is there any JCL/options available to extract the same?
If I sort the PDS by giving sort AM. It gets sorted but since the PDS has 40000 members and sorting gives us to extract 6000 members doing it manual is very difficult. So I need to know is there any other way/options available
Thanks
Janani |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
This is a bit of "stone wheels & knives":
If you do an Index print of the pds (as you would from a source PDS),
does the AM appear in the list?
If so, you can EDIT the list
(generate the list in 3.4
EXIT ISPF
reenter ISPF
userid.ISPF.PROFlist - or something)
then delete those with AM31.
now you would have a listing of member names that you could massage
and use as control statements for a utility. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Or, if your version of ISPF is recent enough (5.9.0) you can give the command
in the member list followed by a
command and all AMODE(24) members will be saved in a 'USERID.AM24.MEMBERS' dataset. Bit shorter |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Robert,
a 'motorized' solution.... |
|
Back to top |
|
|
|