ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

List of Active Jobs in QBATCH

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

  • List of Active Jobs in QBATCH

    Hi All,

    I want to get all the Active Jobs in QBATCH and its Started Time and Entered time.

    I hope this can be achieved by some API. Can any body help me out with sample code.
    Regards,
    Vinothkumar S.

  • #2
    Re: List of Active Jobs in QBATCH

    you are asking to list all submitted jobs thru this subsystem?
    I'm here to chew bubble gum and kick @#%@#%@#%.....and I'm all outta bubble gum !
    Yes I'm talking to you squirrel nuts.

    Comment


    • #3
      Re: List of Active Jobs in QBATCH

      Originally posted by as400Pro View Post
      you are asking to list all submitted jobs thru this subsystem?
      I want to know all active jobs which status is "RUN" in QBATCH --> Entered time, Started time....
      My aim is i want to monitor if any of the jobs are running more than 2 hours in QBATCH then send alert.
      Regards,
      Vinothkumar S.

      Comment


      • #4
        Re: List of Active Jobs in QBATCH

        You can use the QUSLOBJ api to get all of this.

        Using this api, you will need to pass it two keys:

        Key 1906 for the subsystem name
        Key 0402 for the date/time the job became active
        Michael Catalani
        IS Director, eCommerce & Web Development
        Acceptance Insurance Corporation
        www.AcceptanceInsurance.com
        www.ProvatoSys.com

        Comment

        Working...
        X