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

Find and Replace File Names in a PDS


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

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Fri Apr 25, 2008 11:57 am
Reply with quote

Hi All,
I have got a PDS containing JCL members in it.
No of files are used in the JCLs. Now I want to change the file names in these JCLs. I do have a list of files to be name-changed, in a PS. I have list of files with which these files are to be replaced, in another PS file. The count of file names in both PS files is same. The replacement should be on 1-1 basis. ie. 1st file name should be chnaged to 1st one taken from another PS file. want it to be done using REXX.

Help appriciated.
--Parag
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 25, 2008 12:09 pm
Reply with quote

Quote:
want it to be done using REXX

by whom icon_question.gif icon_smile.gif

http://catb.org/~esr/faqs/smart-questions.html
read and meditate

For what reason You think that doing it in rexx is better than using some other approach ?

IPOUPDTE for example (is there, it works, no coding ,no problems)
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Fri Apr 25, 2008 1:57 pm
Reply with quote

Hi enrico-sorichetti,

Quote:

For what reason You think that doing it in rexx is better than using some other approach ?

IPOUPDTE for example (is there, it works, no coding ,no problems)


Both the approaches would be fine. I will put them in front of client and let them decide which one to use.

I said it REXX because, I didn't know abt this utility. One more reason for using REXX could be that REXX code can be chnaged as per requirement in future.
--Parag
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 25, 2008 2:21 pm
Reply with quote

Let me share my experience on customer/consultamt/third party developers relations
( remember anyway I do know nothing about Your environment )

it' a good thing for IT professionals to have personal tools to help them being more comfortable with their day to day tasks

once upon a time I used to leave them to the customers,
after a lots of meditations I decided to stop it,
personal tools are personal, built on the individual way of working,
quick and dirty, minimal error handling, ...

sharing them too much means to make them usable by everybody,
it takes time and often is outside the practices and standards used

it might be ok to share a throw away tool with the customer,
not so if it could became a procedural thing..

the point about Your request ...
if the change is a "once done forget about it" ok to write something specific ( quick and very dirty )

if the task is a ripetitive one, then it would be better to go for something with formal specifications attached

the deliverable left to the customers should the one specified in the contract ..
nothing less, ( it would be a contract breaching )

but most important nothing more ( much worse from a legal point of view )

agreed deliverables go thru quality assurance ( sometimes from independ auditors )

other things do not, and from a strictly legal point of view You might be held responsible for damages

just a few thoughts on tool sharing
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Fri Apr 25, 2008 2:37 pm
Reply with quote

Hi enrico-sorichetti,
Thanks a lot for your views on this ! They surely will be useful to me ! icon_biggrin.gif

--Parag
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 FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top