Need to replace job accounting info in job card



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Need to replace job accounting info in job card

Postby goldy_9884 » Fri Aug 05, 2022 11:19 pm

Hello All,

We have this requirement of changing job accounting info in our Job cards. We have to do this for 35K+ JCLs (these are all test jobs).

From below job card, 2005 AND 0742 needs to be changed into new numbers.



//JOBDSCT1 JOB (2005,0742),'RESTORE DATASET',
//         NOTIFY=&SYSUID,MSGCLASS=E          
//O OUTPUT DEST=ABC.R0,JESDS=ALL,DEFAULT=Y    
//*
 



If there a way to accomplish this for all 35K JCLs without using any Rexx?
goldy_9884
 
Posts: 1
Joined: Fri Aug 05, 2022 11:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need to replace job accounting info in job card

Postby willy jensen » Sat Aug 06, 2022 12:20 am

Sure, but you will need a program of some kind, my preference is PDS86 from cbttape.org file 182. Or some sort of PDS unload to a sequential dataset, then use ISPF edit, then reload PDS from the sequential dataset.
willy jensen
 
Posts: 397
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 57 times

Re: Need to replace job accounting info in job card

Postby prino » Sat Aug 06, 2022 1:56 pm

Or you can download PDSUPDTE, assembler source.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 629
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: Need to replace job accounting info in job card

Postby jcdm » Thu Aug 18, 2022 1:25 pm

Hello, I use FMNMAIN pgm
jcdm
 
Posts: 8
Joined: Fri Dec 10, 2021 4:39 pm
Has thanked: 1 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post