IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISPF PDS member extract


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
janvseshan

New User


Joined: 05 Nov 2006
Posts: 3

PostPosted: Tue Jun 16, 2009 10:05 am
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 16, 2009 10:13 am
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Jun 16, 2009 11:27 am
Reply with quote

Or, if your version of ISPF is recent enough (5.9.0) you can give the command

Code:
filter am eq 24
in the member list followed by a
Code:
save am24
command and all AMODE(24) members will be saved in a 'USERID.AM24.MEMBERS' dataset. Bit shorter icon_biggrin.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 16, 2009 11:34 am
Reply with quote

Robert,
a 'motorized' solution....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top