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

To Change a part of a filename in parms


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
himanshuvyas

New User


Joined: 30 Apr 2007
Posts: 2
Location: India

PostPosted: Thu May 03, 2007 1:12 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Thu May 03, 2007 1:19 pm
Reply with quote

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
View user's profile Send private message
himanshuvyas

New User


Joined: 30 Apr 2007
Posts: 2
Location: India

PostPosted: Thu May 03, 2007 1:25 pm
Reply with quote

Yes you are right abhijit. Thats what i want to do
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 03, 2007 2:47 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Thu May 03, 2007 3:27 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 03, 2007 3:30 pm
Reply with quote

Not be done via a scheduling package ?
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Change history of vsam file. JCL & VSAM 3
Search our Forums:

Back to Top