Previous Topic: OPSIPL Returned ValuesNext 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. Use this function to inquire about the status of initiators, the input queue, local and remote printers, spool function, NJE/RJE lines, and multiaccess spool (MAS) information.

Note: The OPSJES2 call operates only if you have JES2 on your system. You can use the OPSJES2 function in OPS/REXX or AOF rules.

OPSJES2 has the following format:

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