CA 7 Workload Automation

 View Only
  • 1.  Mass update on Jobnet Parameter in CA7 db.1

    Posted Apr 07, 2020 11:35 AM
    ​Hi,
    Need someone to help me in updating JOBNET value to be empty (null value) for more than 300 jobs in Mainframe. I have BTI job, but in this scenario, empty space given to jobnet value int he JCL doenst work.
    it tired all possible combinations. Error : unrecognized  input value

    //TST5193A JOB (0000,,,99),'CA-7 SET EXEC',            
    //             CLASS=A,MSGCLASS=Q,NOTIFY=TST5193,      
    //             MSGLEVEL=(1,1)                          
    //*----------------------------------*                 
    //*  CA-7 BATCH TERMINAL INTERFACE   *                 
    //*----------------------------------*                 
    //PSTEP000 EXEC CA7BTI                                 
    //BTERM.SYSPRINT DD SYSOUT=Q                           
    //BTERM.SYSIN DD *                                     
    JOB                                                    
    UPD,TSC7LATE,JOBNET=


  • 2.  RE: Mass update on Jobnet Parameter in CA7 db.1
    Best Answer

    Posted Apr 08, 2020 07:21 AM
    To make the jobnet blank, you will need to add the value for another field behind it. Leave a space after the '=' for the jobnet. 
    Example:  UPD,JOBNAME,JOBNET= ,LTERM=ABCZYZ


  • 3.  RE: Mass update on Jobnet Parameter in CA7 db.1
    Best Answer

    Posted Apr 08, 2020 08:36 AM
    Ok.... The issue is that CA7 does not like the SPACE at the end of the command.  You can get round this by adding another field to update, even if you just update it to the same.  e.g 

    JOB
    UPD,TSC7LATE,JOBNET= ,SYSTEM=TSC

    Notice the space is still in the command.


  • 4.  RE: Mass update on Jobnet Parameter in CA7 db.1

    Posted Apr 10, 2020 08:44 AM
    thanks for the heads-up. I already tried using additional params next to it. I thought there could be any other way without adding extra parameters to it.