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

Edit a memeber of PDS and copy to other PDS


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

New User


Joined: 10 Apr 2013
Posts: 10
Location: INDIA

PostPosted: Wed Apr 10, 2013 11:21 am
Reply with quote

Hi All,
I am new to Rexx and my requirement is to read all members(all are jcls) of pds and edit it , eg: changing its job card and deleting commented lines in that member and write it to a new pds .
Please help me with the code to achieve this.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 10, 2013 11:41 am
Reply with quote

Quote:
Please help me with the code to achieve this.

what is the meaning of the help verb ?
( provide me with -, perchance ) icon_cool.gif

anyway, see here for an example on how to extract the list of all the member of a pds
ibmmainframes.com/viewtopic.php?t=60743&highlight=

and here on how to apply an edit macro to all of them
ibmmainframes.com/viewtopic.php?t=25947&highlight=
the components involved are two ...
the main driver which processes/extracts the member list
the EDIT macro which modifies each member

once You have understood the logic You will be ready for the next step
write Yourself the EDIT macro to modify the JCL card and get rid of the comment

anyway the task is IMO too complicated for a REXX beginner
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Wed Apr 10, 2013 11:56 am
Reply with quote

There are of course 3rd party products available which will do exactly what you want to achieve.

Why re-invent the wheel is this is a business requirement?
Back to top
View user's profile Send private message
Sheerin banu

New User


Joined: 10 Apr 2013
Posts: 10
Location: INDIA

PostPosted: Wed Apr 10, 2013 12:33 pm
Reply with quote

Thanks both of you for your valuable response.
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 VB to VB copy - Full length reached SYNCSORT 8
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
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
Search our Forums:

Back to Top