Changed REXX program but rule still executing old code
book
Article ID: 188584
calendar_today
Updated On:
Products
OPS/MVS Event Management & Automation
Issue/Introduction
After having changed a REXX code called by a rule the same old code is still being executed.
Environment
Release : 13.0
Component : OPS/MVS
Cause
When using the REXX call statement the code of the program called is compiled within the rule code when the rule is enabled.
Resolution
All rules that call the REXX program must be disabled and re-enabled to use the new code. An alternative to avoid this problem in the future is to dispatch the REXX program to run on an OSF server. Instead of using the "CALL" REXX instruction use the "ADDRESS OSF OI" statement to call the program: