ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

JOB QUEUE info (Subsystem, Max Entry, Job listed trogh jobq ........)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JOB QUEUE info (Subsystem, Max Entry, Job listed trogh jobq ........)

    Hello Folks !!!

    I want to retrieve info of JOBQ :
    Subsytem name, Job Name listed through Jobq , *command within that jobs and total no of jobs in that JOBQ


    I am designing a tool which take JOBQ name as parameter and writes the above (Subsytem name, Job Name listed through Jobq , *command within that jobs and total no of jobs in that JOBQ) info in outfile .

    Any idea how to proceed ??


    *command within that jobs means call statement within that Job like CALL PGM(TPF301CL) PARM('297' '87')


    Pramendra Pandeya
    Young people knows how to run fast but old people knows the way..

  • #2
    Re: JOB QUEUE info (Subsystem, Max Entry, Job listed trogh jobq ........)

    USe the Retrieve Job Queue Information (QSPRJOBQ) API


    Also, there is a TAATOOL command : RTVJOBQA


    But more easyiest, here an example from the boss
    http://www.code400.com/forum/showthr...o-api(QSPRJOBQ)
    Patrick

    Comment

    Working...
    X