Previous Topic: Formats for OPS/REXX Data SetsNext Topic: Execute a Program That Calls External Routines


How OPS/REXX Locates Stored OPS/REXX Programs

OPS/REXX programs can reside in OPSEXEC data set libraries or in data sets elsewhere in the SYSEXEC concatenation. Programs in data sets allocated to OPSEXEC execute faster because OPS/REXX can execute them without compiling them first.

When you invoke a program, OPS/REXX always looks for it first in the OPSEXEC libraries. This is true as long as you have allocated the OPSEXEC ddname. If the program is not there, OPS/REXX looks in the SYSEXEC libraries and, after finding it, reads, compiles, and runs it.

Note: To avoid slowing down CA OPS/MVS processing, use the OPSEXEC DD, which prevents REXX code from being compiled at runtime.