Arlene,

ping only tells me if the unix box is alive - but not if the DB2/connect
stuff is up and running.

Thanx,

Oliver

Ok take a look at the second suggestion, did you save your old Taatools from
V3R2???
Otherwise I would suggest buying them.

>
> From the Old Taatools,   (Undoubtably new also) there is a Command called
> WRKSYSACT, this goes to an outfile that can be read by an RPG or CL
> program and
> again sent to QSYSOPR.
>
>


However this can be done by you with a little work from a programmer, I don't
know what subsystem your jobs are in so I brought up all the options. But you
probably already only look at certain Jobs or Subsystems. You need to print
because with the CPYSPLF command the spool file (QPDSPAJB) can be copied to a
data base file with fields you can read in CL or RPG.

                       Work with Active Jobs (WRKACTJOB)

Type choices, press Enter.

Output . . . . . . . . . . . . . > *PRINT        *, *PRINT

                           Additional Parameters

Reset status statistics  . . . .   *NO           *NO, *YES
Subsystem  . . . . . . . . . . .   *ALL          Name, *ALL
               + for more values
CPU percent limit  . . . . . . .   *NONE         .1-99.9, *NONE
Response time limit  . . . . . .   *NONE         .1-999.9 seconds, *NONE
Sequence . . . . . . . . . . . .   *SBS          *SBS, *AUXIO, *CPU...
Job name . . . . . . . . . . . .   *ALL          Name, generic*, *ALL, *SYS...
Automatic refresh interval . . .   *PRV          5-999 seconds, *PRV


                  Device or                       Total   Current
 Opt  File        Queue       User Data   Status  Pages     Page   Copies
      QPDSPAJB    QDPPRINT                 RDY       13                1









+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| 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.