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

Read all GDG generations in REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vikash58

New User


Joined: 03 Apr 2007
Posts: 7
Location: pune

PostPosted: Sat Mar 28, 2009 10:30 pm
Reply with quote

I want to read all existing GDG generations by giving only GDG base name and write each GDG generation to others files.

How can I do it in REXX.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sun Mar 29, 2009 3:01 pm
Reply with quote

Invoke LISTCAT within REXX, parse the output to get the individual generations - there are examples on the forum.

Invoke SORT, IEBGENER, ICEGENER or whatever from within REXX to perform the copies, again examples are available on the forum.

What have you coded so far and what problems are you hitting
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top