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
 

 

Edit a memeber of PDS and copy to other PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Edit a memeber of PDS and copy to other PDS
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Apr 10, 2013 11:41 am    Post subject: Reply to: Edit a memeber of PDS and copy to other PDS
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
http://ibmmainframes.com/viewtopic.php?t=60743&highlight=

and here on how to apply an edit macro to all of them
http://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: 176
Location: UK

PostPosted: Wed Apr 10, 2013 11:56 am    Post subject:
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    Post subject: Reply to: Edit a memeber of PDS and copy to other PDS
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 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 Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 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