Jobtrac

 View Only
  • 1.  How to get list of held Job using batch in Jobtrac

    Posted Feb 14, 2020 02:19 PM
    Hi,

    Please advise how I can get list of manual held Jobs in CA Jobtrac using batch module.

    ------------------------------
    Thanks,
    Rakesh
    ------------------------------


  • 2.  RE: How to get list of held Job using batch in Jobtrac

    Broadcom Employee
    Posted Feb 14, 2020 04:19 PM

    Hello Rakesh,

    Not sure if this is what you are looking for but you can use the GJTRJARC with PARM='LIST,LAW' to produce a report with all jobs that late, abended or waiting. Here is sample JCL:

    //GJTRJARC EXEC PGM=GJTRJARC,PARM='LIST,LAW',
    // REGION=4096K
    //STEPLIB DD DISP=SHR,DSN=CAI.JTR11SP5.CAILIB
    // DD DISP=SHR,DSN=CAI.DATAAD14.CUSLIB
    // DD DISP=SHR,DSN=CAI.DATAAD14.CAAXLOAD
    //SYSPRINT DD SYSOUT=*
    //SYSTERM DD SYSOUT=*
    //SYMDUMP DD DUMMY
    //JOBTRACY DD DUMMY

    Regards,

    Mario



    ------------------------------
    Carlos Mario Silveira Filho
    Principal Support Engineer
    carlosmario.filho@broadcom.com
    Broadcom

    ------------------------------



  • 3.  RE: How to get list of held Job using batch in Jobtrac

    Posted Feb 14, 2020 04:42 PM
    Hi Carlos,

    I am trying to get list of Jobs list with manual dependency in Jobtrac, I have tried following PARM 

    EXEC GJTRJARC,PARM='LIST,ALL,D=M' 

    But Job failed with error.
    There is any way to complete list of PARM we can use for various operations.




  • 4.  RE: How to get list of held Job using batch in Jobtrac

    Broadcom Employee
    Posted Feb 14, 2020 04:54 PM

    Hello Rakesh,

    I don't see an easy way to produce such report in batch but you can issue the command D=M in the Jobtrac main panel to get a list of all jobs with manual dependency.

    Regards,

    Mario




  • 5.  RE: How to get list of held Job using batch in Jobtrac

    Posted Feb 14, 2020 05:07 PM
    Hi Mario,

    Thanks for quick response. In main panel this options working perfectly. But I am looking for option to export to file using batch.
    There is another indirect options we can use for get this details..?  else if we get dependent code column in final report also help for my requirement. 

    What are the other PARM we can use in JOBTRCK module..?


  • 6.  RE: How to get list of held Job using batch in Jobtrac

    Broadcom Employee
    Posted Feb 14, 2020 05:18 PM
      |   view attached

    Hi Rakesh,

    There is a sample IMOD named DEPWTOR that can be used as starting point.
    The original code looks for jobs with DEP=M and issues a WTOR asking if the operator wants to release the job.
    If you are familiar with REXX and IMODs it can be pretty easy to modify this IMOD to produce a report instead of issuing the WTOR.
    I'm attaching the code of this IMOD to this message.
    If you need more help regarding the execution of this IMOD, please, open a Jobtrac case.

    Regards,

    Mario


    Attachment(s)

    txt
    DEPWTOR.txt   10 KB 1 version


  • 7.  RE: How to get list of held Job using batch in Jobtrac

    Posted Feb 14, 2020 05:45 PM
    Hi Mario,

    Thanks for your help, will explore this.