Changed REXX program but rule still executing old code
Article ID: 188584
OPS/MVS Event Management & Automation
After having changed a REXX code called by a rule the same old code is still being executed.
Release : 13.0
Component : OPS/MVS
When using the REXX call statement the code of the program called is compiled within the rule code when the rule is enabled.
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: