• Subject: How to check jobs which enter SUBSYSTEM
  • From: bvining@xxxxxxxxxxxx
  • Date: Wed, 10 Feb 99 09:05:15 CST

Sanjiv,

The Job Notification Exit Point (described in the Work Management Exit
Programs chapter of the System API Reference) allows you to be notified,
by subsystem, whenever a job starts, ends, or is placed on a *JOBQ.
The exit is flexible enough so that you can ask for only "starts" if that
is your desire.

The notification is by way of a message being sent to a *DTAQ which gives
you both the internal job identifier and the job name of the job
(in your case) started.  You simply have a program monitoring the *DTAQ
and, when a message is received, do whatever operations you need to do.

Bruce Vining

>
>Now, my question is how to know that a job just entered into the
>subsystem, it may be QBATCH or QINTER or both, so that I can set a
>trigger (or the system can trigger) my program to execute or do some
>other operation.
>
>Sanjiv Hati
>

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.