List Job (QUSLJOB) API

Required Parameter Group:

1 Qualified user space name Input Char(20) 2 Format name Input
Char(8) 3 Qualified
job name Input Char(26) 4 Status Input Char(10)
Optional Parameter Group 1:

5 Error Code I/O Char(*)
Optional Parameter Group 2:

6 Job type Input Char(1) 7 Number of fields to return Input Binary(4) 8 Key
of fields to return Input Array(*) of Binary(4)
Optional Parameter Group 3:

9 Continuation handle Input Char(48)
Default Public Authority: *USE

Threadsafe: Conditional; see Usage
Notes<http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/qusljob.htm#Header_13>
.

The List Job (QUSLJOB) API generates a list of all or some jobs on the
system. The generated list replaces any existing list in the user space.

The QUSLJOB API produces a list similar to the list produced by the Work
with User Job (WRKUSRJOB) command.


On Mon, Apr 5, 2010 at 1:57 PM, Rich Loeber <rich@xxxxxxxxx> wrote:

I'm looking for an API that will give me a list of user profiles
currently
signed on to the system. I have to support back to V5R3, so I started
with the API documentation for that release level. I don't see an API
specifically for this purpose. Do I need to find the active subsystems
and then list the jobs that are active and work back from there?

Any suggestions?

I don't want to run the WRKACTJOB command to print and read the spool
file
as that can get you into trouble when supporting multiple release levels.

Rich Loeber
Kisco Information Systems
[1]http://www.kisco.com

References

Visible links
1. http://www.kisco.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.