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

To Copy PDS list from 3.4 screen.


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

Active User


Joined: 09 Apr 2008
Posts: 133
Location: Phoenix, AZ

PostPosted: Mon Mar 02, 2009 5:15 pm
Reply with quote

Hi,

I want to copy the list of PDS displayed in the 3.4 option into a PS. So that i can use that PS as an input to a JCL to delete those PDS.

For example,

If i enter HLQ.*.*, a list of PDS will be displayed which i want to copy in a PS. Since there are thousands of PDS displayed, it takes lot of time to copy manually. Is it possible using REXX??

Please help.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Mar 02, 2009 5:20 pm
Reply with quote

Take a look at THIS thread for an example.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Mon Mar 02, 2009 5:22 pm
Reply with quote

Nelson,

Quote:
If i enter HLQ.*.*, a list f PDS will be displayed which i want to copy in a PS. Since there are thousands of PDS displayed, it takes lot of time to copy manually. Is it possible using REXX??


Yes, its possible in REXX using the OUTTRAP command. Search this forum for examples.

1) Execute the command in REXX and not in 3.4
2) Trap the output from the screen
3) Queue and write it into a PS
4) Use the PS for further processing.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Mon Mar 02, 2009 5:47 pm
Reply with quote

Hi,

Go to 3.4 type your naming convention. Press ENTER
in the command type -> SAVE LIST
the list will be saved under following naming 'yourid.list.datasets'

Thank You,
Sushanth Bobby
Back to top
View user's profile Send private message
nelson.pandian

Active User


Joined: 09 Apr 2008
Posts: 133
Location: Phoenix, AZ

PostPosted: Wed Mar 04, 2009 2:44 pm
Reply with quote

Thanks for your help guys. I got it using Sushanth's idea:)
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 VB to VB copy - Full length reached SYNCSORT 8
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
Search our Forums:

Back to Top