Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISPF PDS member extract

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: ISPF PDS member extract
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    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Tue Jun 16, 2009 11:27 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us