Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

Senior Member


Joined: 14 Mar 2007
Posts: 10626
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: 194
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 IEBGENER to copy from FB to VB and re... Mike.Fulton All Other Mainframe Topics 3 Sat Aug 24, 2019 7:20 am
No new posts Copy physical Tape files to a Mainfra... Dadi Krishna Teja JCL & VSAM 11 Thu May 16, 2019 10:25 pm
No new posts Divide and edit the sum - OutRec balaji81_k DFSORT/ICETOOL 5 Thu May 02, 2019 4:21 am
No new posts How to copy\replace the members in pr... abdulrafi JCL & VSAM 6 Fri Mar 22, 2019 7:02 pm
This topic is locked: you cannot edit posts or make replies. Copy one file to possible multiple files dibyendumandal11111 SYNCSORT 9 Fri Mar 08, 2019 2:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us