Why the CA OPS/MVS OPSDEV function returns the error "FAILURE IN SYSTEM SERVICE"?
Running the following statement in an OPS/REXX program:
nnn = OPSDEV('D','DASD')
Produces the following error:
OPS1048I ERROR 48 RUNNING pgmname, LINE nn: FAILURE IN SYSTEM SERVICE
This error indicates the OPSDEV function returned too many lines and the OPS/REXX EDQ (External Data Queue) was exhausted. There are 2 possible solutions:
1. Increase the value of the parameter REXXMAXQUEUE at the panel 4.1.1
2. Override the EDQ size on the call to the program using the keyword MAXEDQ of the OI or OX commands. For example:
OI PROGRAM(pgmname) MAXEDQ(32768)
Note: For both the REXXMAXQUEUE parameter and the MAXEDQ keyword the maximum value allowed is 32768. If more than 32768 lines are returned the problem will still occur. You may need to use the filters allowed in the keywords of the OPSDEV function.
You can find additional information about the functions and parameters mentioned in this document at our website: CA Technologies Documentation
Release: PVLA2.00200-12.2-OPS/MVS-Event Management & Automation-for JES2