Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)

Chapter 3 57
Growth Solution
AIFs for Multiple Job Queues
AIFs for Multiple Job Queues
by Rajesh Channabasavaiah
Commercial Systems Division
The Architected Interface Facility (AIF) OS product has been enhanced to return the
information about the multiple job queues running on the MPE/iX Version 6.0 and above.
The Job Queue information obtained will provide the job queue name, job queue limit,
number of jobs executing and also the total number of jobs in the queue.
To obtain the above requirement for the AIF, two AIF intrinsics have been enhanced. The
two intrinsics are as follows:
AIFSYSWIDEGET
AIFJSGET
Enhancement for AIFSYSWIDEGET
This intrinsic has been enhanced to return the complete job queue information based on
the job queue name specified. The user can request the job queue information like the
limit, jobs executing and total jobs executing for a particular job queue name. By passing
that job queue name as an input via the AIFSYSWIDEGET call through the parameter
ITEM_ARRAY, all the required information about that job queue name is returned in the
return parameter, RETURN_ARRAY1.
If the requested job queue name is not a valid name in the existing job queue list, then
error number 1014 is returned which indicates that the requested job queue name does not
exist in the queue list.
Enhancement for AIFJSGET
This intrinsic has been enhanced to return the individual job queue information,
depending on the item number for which the information is required. The job number has
to be specified when this intrinsic is called. The individual item numbers for obtaining the
information for each item are as follows:
Item Number Type Description
1051 CA8 Job Queue Name
1052 I32 Job Queue Limit
1053 I32 Number of Job Queues executing
1054 I32 Total Number of Job Queues executing