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
 

 

To Copy PDS list from 3.4 screen.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: To Copy PDS list from 3.4 screen.
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: 8593
Location: Back in jolly old England

PostPosted: Mon Mar 02, 2009 5:20 pm    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Mon Mar 02, 2009 5:22 pm    Post subject: Reply to: To Copy PDS list from 3.4 screen.
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: 1013
Location: India

PostPosted: Mon Mar 02, 2009 5:47 pm    Post subject:
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    Post subject:
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    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
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm


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