|
Hi Randy, - I've sent you the QGYOLJOB sample in private e-mail. Best regards, Carsten Flensburg ----- Original Message ----- From: "Randy Guo" <randyzwguo@xxxxxxxxx> To: <RPG400-L@xxxxxxxxxxxx> Sent: Sunday, December 03, 2006 8:06 AM Subject: API QGYOLJOB
Hi, I read your messages about the active job in a specified subsystem via Google. I also need a sample of iSeries API QGYOLJOB Appreciate that you would send me a copy Many Thanks Regards Randy ------------------------------ ------------------------------ Re: Retrieving active controlling subsystem ------------------------------ * [image: +] <http://archive.midrange.com/midrange-l/200604/msg00617.html#> * - *Subject*: Re: Retrieving active controlling subsystem - *From*: "Carsten Flensburg" <flensburg@xxxxxxxxxx> - *Date*: Tue, 11 Apr 2006 19:51:12 +0200 - *List-archive*: <http://archive.midrange.com/midrange-l> - *List-help*:
<mailto:midrange-l-request@xxxxxxxxxxxx?subject=help<midrange-l-request@midr ange.com?subject=help>>
- *List-id*: Midrange Systems Technical Discussion < midrange-l.midrange.com> - *List-post*:
<mailto:midrange-l@xxxxxxxxxxxx<midrange-l@xxxxxxxxxxxx>>
- *List-subscribe*: < http://lists.midrange.com/mailman/listinfo/midrange-l>, <
mailto:midrange-l-request@xxxxxxxxxxxx?subject=subscribe<midrange-l-request@xxxxxxxxxxxx?subject=subscribe>>
- *List-unsubscribe*: < http://lists.midrange.com/mailman/listinfo/midrange-l>, <
mailto:midrange-l-request@xxxxxxxxxxxx?subject=unsubscribe<midrange-l-request@xxxxxxxxxxxx?subject=unsubscribe>>
[image: Digg this]Digg
this<http://digg.com/submit?phase=2&url=http%3A%2F%2Farchive.midrange.com%2F midrange-l%2F200604%2Fmsg00617.html&title=Re:%20Retrieving%20active%20contro lling%20subsystem&bodytext=Hello%20Mark%2C%20-%20You%20could%20use%20the%20O pen%20List%20of%20Jobs%20%28QGYOLJOB%29%20API%20to%20list%20all%20subsystem% 20monitor%20jobs%20%28jobtype%20%26quot%3BM%26quot%3B%29%20and%20ask%20the%2 0API%20to%20sort%20on%20job%20number%20in%20ascending%20order.%20That%20way% 20the%20first%20subsystem%20monitor%20job%20returned%20would%20name%20the%20 first%20subsystem%20tha...&topic=programming>
[image: del.icio.us]del.icio.us <http://del.icio.us/post> ------------------------------
<http://adserver.midrange.com/adclick.php?bannerid=33&zoneid=8&source=midran ge-l&dest=http%3A%2F%2Fwww.lab400.com%2Fpromotion.asp%3Fidno%3D18593>
<http://adserver.midrange.com/adclick.php?n=a23339ec> Hello Mark, - You could use the Open List of Jobs (QGYOLJOB) API to list all subsystem monitor jobs (jobtype "M") and ask the API to sort on job number in ascending order. That way the first subsystem monitor job returned would name the first subsystem that was started during the previous IPL - or in other words the current controlling subsystem. I've written a small sample program to demonstrate the above technique,
let
me know if you want a copy. Best regards, Carsten Flensburg ----- Original Message ----- From: <mlazarus@xxxxxxxx> To: <midrange-l@xxxxxxxxxxxx> Sent: Monday, April 10, 2006 9:19 PM Subject: Retrieving active controlling subsystem* How would I go about retrieving the *active* controlling subsystem?
If*
* the QCTLSBSD system value is changed, retrieving that value won't
reflect*
* the current reality.* ** * I'm looking for this info becuase I want to automate an orderly
shutdown*
* of active subsystems, but do not want to end the controlling *SBS.
TIA.*
-- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.