Need to replace job accounting info in job card

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
goldy_9884
Posts: 1
Joined: Fri Aug 05, 2022 11:10 pm
Skillset: JCL, COBOL, DB2
Referer: Old user

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.


Code: Select all


//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?

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

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.

User avatar
prino
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
Referer: Google
Location: Vilnius, Lithuania
Contact:

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

jcdm
Posts: 20
Joined: Fri Dec 10, 2021 4:39 pm
Skillset: jcl
Referer: Internet

Re: Need to replace job accounting info in job card

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

Hello, I use FMNMAIN pgm


  • Similar Topics
    Replies
    Views
    Last post