Previous Topic: Functions Not Supported in OPS/REXX

Next Topic: DATE Function

Usage Recommendation

Some OPS/REXX built-in functions whose names begin with OPS can only be used in OPS/REXX. If they are used in a CLIST or TSO/E REXX EXEC, they terminate with an S0C3 abend as shown in the following example, which executes a REXX EXEC called TESTPGM that attempts to use the OPSINFO OPS/REXX function:

%TESTPGM
System abend code 0C3, reason code 00000003.
Abend in external function OPSINFO.
  46 +++ Temp = OPSINFO("ASID")
Error running TESTPGM, line 46: Incorrect call to routine
READY

If you examined the dump for this type of abend, you would find that it always occurs at x'6A' into the CA OPS/MVS function module.