Converting fileaid to filemgr



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Converting fileaid to filemgr

Postby dstsaconv » Thu Jan 09, 2014 2:28 am

we want to update in place a pds containing batch jobs (jcl). We need to change things like job class, msgclass, dates...etc across the board.

With fileaid, we can give it multiple UPDATE stmts, but when we run the fileaid to filemgr conversion job, all additional stmts after that 1st UPDATE stmt are commented out.

Using filemgr, how do you make multiple changes to a pds in 1 pass? :mrgreen:
dstsaconv
 
Posts: 2
Joined: Thu Jan 09, 2014 2:02 am
Has thanked: 1 time
Been thanked: 0 time

Re: Converting fileaid to filemgr

 

Re: Converting fileaid to filemgr

Postby Ed Goodman » Thu Jan 09, 2014 9:41 pm

I use this, and it works great. It's a batch job if that's what you want:

//SCANNER  EXEC PGM=FMNMAIN                           
//SYSPRINT DD SYSOUT=*                               
//FMNTSPRT DD SYSOUT=*                               
//SYSTERM  DD SYSOUT=*                               
//DD01     DD DISP=SHR,DSN=WTSO.WNEG.TDR9.SCHEDULE   
//SYSIN    DD *                                       
$$FILEM FCH ,                                         
$$FILEM INPUT=DD01                                   
C 'EAUXBI' '9AUXBI'                                   
C 'TDR5' 'TDR9'                                       
C 'EBACKUP' '9BACKUP'                                 
C 'EBATCH' '9BATCH'                                   


As a side note, I just used 'DD01' as the DD name out of habit, it can be any valid DD name.
Ed Goodman
 
Posts: 342
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: Converting fileaid to filemgr

Postby dstsaconv » Fri Jan 10, 2014 6:56 pm

Works perfect...thanks for your help!
dstsaconv
 
Posts: 2
Joined: Thu Jan 09, 2014 2:02 am
Has thanked: 1 time
Been thanked: 0 time

Re: Converting fileaid to filemgr

Postby dick scherrer » Fri Jan 10, 2014 7:30 pm

Good to hear it is working - thank you for letting us know :)

We helpers appreciate knowing our suggestion helped 8-)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Converting fileaid to filemgr

Postby Ed Goodman » Fri Jan 10, 2014 9:35 pm

Again...I love the satisfaction of having a tool laying on the shelf that does just what someone needs. That's a great feeling.

These users thanked the author Ed Goodman for the post:
dstsaconv (Fri Jan 10, 2014 10:02 pm)
Ed Goodman
 
Posts: 342
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post