× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Command To Check Current Subsystem
  • From: bvining@xxxxxxxxxxxx
  • Date: Tue, 11 Jul 00 10:16:39 CDT

I don't know about commands, but the Retrieve Job Information (QUSRJOBI)
API, at offset 62 of format JOBI0200, returns the subsystem name of an
active job.  The API is documented in the Work Managment APIs category
of OS/400 System APIs.

Bruce

>
>Is there a CL command that I can use to determine the current subsystem that
>a job is running in?
>
>I want to use it to change subsystems via TFRJOB in the initial signon
>program.  The problem I am having is when I do the TFRJOB my initial program
>starts again and I go into a loop.  If I could check the current subsystem,
>I can skip the TFRJOB statement on the second pass.
>
>I tried using *LDA but that seems to be reset as well.
>


+---
| 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.