Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums 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: 10535
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: 182
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 Anyone know how to copy Unix files? John Poulakos JCL & VSAM 7 Wed Oct 10, 2018 12:57 am
No new posts ISPF 3.4 edit of a ps file, disp use... Carrie Da Silva TSO/ISPF 3 Fri Sep 21, 2018 3:01 am
No new posts Copy records with unknown LRECL oerdgie DFSORT/ICETOOL 8 Tue Jul 24, 2018 7:50 pm
No new posts INCLUDE 2 conditions to copy in the o... Chiku kumar DFSORT/ICETOOL 10 Tue Jul 03, 2018 7:11 pm
No new posts Run time proc edit Niki JCL & VSAM 7 Fri Jun 08, 2018 5:42 pm

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