Friday, May 18, 2007

List Job (QUSLJOB) API

The as400 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.

example:

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

Using the QUSLJOB API to look for any jobs on *MSGW and take an action, in this case sending an email

http://www.code400.com/forum/showthread.php?t=1123