• Subject: RE: Finding where a job ran...
  • From: "Graap, Ken" <keg@xxxxxxxxxxxxxxxxxx>
  • Date: Thu, 23 Sep 1999 07:40:01 -0700

>You could try using the routing entry on the SBMJOB command - they'll never
>know about that. It will allow the job to run in QBATCH or wherever, but
not
>in other subsystems.
>
>For instance a rtge of QCMDB would run QCMD in QBATCH, but QINTER/CTL etc
>could be changed to run YOURPGM which just reroutes/transfers the job to
>QBATCH. You can make YOURPGM do anything including sending a message to the
>user saying he's been caught, and then rducing the priority of the job :)

Thanx Brendan.... This is exactly the "clue" I needed...

I have added a QCMDB routing entry to subsystem description QINTER. This
routing entry will call a program I wrote which will retrieve the
appropriate job attributes and then log an entry to the QADUJRN journal
indicating that someone attempted to run a batch job in a non batch
subsystem. Right now I'll allow the job to run and personally notify the
offender. If this practice doesn't stop then I'll modify my program to
cancel any batch job when it is submitted to a non batch subsystem. 

thanx for your help!

Kenneth

****************************************
Kenneth E. Graap
IBM Certified Specialist
AS/400 Professional
Systems Administrator
NW Natural (Gas Services)
keg@nwnatural.com
Phone: 503-226-4211 x5537
FAX:    603-849-0591
****************************************

-----Original Message-----
From: Brendan Bispham [mailto:midrangel@black-and-blue.com]
Sent: Wednesday, September 22, 1999 3:55 AM
To: MIDRANGE-L@midrange.com
Subject: RE: Finding where a job ran...

+---
| 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-Ups:

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.