View previous topic :: View next topic
|
Author |
Message |
himanshuvyas
New User
Joined: 30 Apr 2007 Posts: 2 Location: India
|
|
|
|
Hi All,
I want to change the name of the file partly in parm called by a job. i need to do it manually everytime, there are around 60 parms. Is there any way to run one job which changes the name of the file in all the parms? The length of the file varies in every parm, but the part of the filename which i want to change always begins with WO.
Help me out regarding this.
ex: aaaa.bbbb.cccc.WO031206
everytime i need to change the date manually
Thanks |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
As per my understanding, you want to do changes in multiple files at once.
Please rephrase your question if you want something else.
An example will be bonus for us to understand your requirement easily. |
|
Back to top |
|
|
himanshuvyas
New User
Joined: 30 Apr 2007 Posts: 2 Location: India
|
|
|
|
Yes you are right abhijit. Thats what i want to do |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Code: |
//PROCNAME PROC ABC=
//*
//STEP9999 EXEC PGM=whatever
//INFILE DD DSN=ABC.DEF.WO&ABC
//
And for the EXEC
//RUNSTEP EXEC PROCNAME,ABC=whatever
|
|
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Expat,
I think OP is having this at his site already. He now wants to change parameter in number of jcls.
I will try to write edit macro in such situation.
Otherwise FILE-AID SEARCH/UPDATE is good enough for 60 jcls. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Not be done via a scheduling package ? |
|
Back to top |
|
|
|