When a particular operation (such as waiting) needs to be performed from an OPS/REXX program or rule, and the operation can be performed either by using a TSO command processor or by using an OPS/REXX function or host environment command, the OPS/REXX function or host environment command is always more efficient.
When the same operation is performed repeatedly, such as in a loop, the difference in CPU resources that are consumed can be significant.
For these reasons, we recommend that whenever possible the OPS/REXX function or host environment command (as shown in the following table) be used in place of the TSO command processor in an OPS/REXX program or REQ rule:
|
REXX Function/Host Command |
TSO Command Processor |
|---|---|
|
OPSDOM() |
OPSDOM |
|
OPSPRM() |
OPSPARM |
|
OPSVALUE() |
OPSGETV, OPSGETVL, OPSSETV, OPSDELV |
|
OPSWAIT() |
OPSWAIT |
|
ADDRESS OPER |
OPSCMD, OC |
|
ADDRESS SQL |
OPSQL |
|
ADDRESS WTO |
OPSWTO |
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|