Previous Topic: OPSIPL Returned Values

Next Topic: Record Fields for Inquiries

OPSJES2 Function

The OPSJES2 function returns the number of lines of JES2-related resource data from the primary JES2 that have been placed on the OPS/REXX external data queue. Using this function, you can inquire about the status of initiators, the input queue, both local and remote printers, spool function, NJE/RJE lines, and multi-access spool (MAS) information.

Note: You can use the OPSJES2 function in OPS/REXX or AOF rules.

Platform: The OPSJES2 call operates only if you have JES2 on your system.

This function has the following format:

var = OPSJES2('func','resource'[,'class'][,'status'][,'order'])