The following lines demonstrate a call to the Control‑M/Tape Rule Search API:
Figure 96 Sample Call to the Rule Search API
L R12,TCTADDR
CALL CTTRSR,(RSEARCH,(12),RSOBLK,0,RLMADDR,(2),RSIADDR)
.
.
.
TCTADDR DS A
RSEARCH DC C’R’
RSOBLK DS XL(RSOLEN)
RLMADDR DS A
RSIADDR DS A
For a more detailed example, see Sample Rule Search API.
Parent Topic |