Description
Developer coded the following RACROUTE call. But, whatever the PHRASE parameter specified a RC=0000 or RC=0008 should be returned or others depending on its value.
CA Top Secret is returned a RC=0000 in every case.
Here is an example of RACROUTE call:
RACROUTE REQUEST=VERIFY, ENVIR=CREATE, PASSCHK=YES, PHRASE=PHRASEL, USERID=USERIDL, ACEE=ACEEADDR, RELEASE=7730, MSGRTRN=YES, MSGSP=1, MSGSUPP=YES, WORKA=RACWORK,MF=(E,ROUTWRK)
Solution
There is nothing wrong in the way the RACROUTE call was coded.
During testing, the MODE and the FACILITY options NODORMPW and NOWARNPW, under which the RACROUTE is issued should be considered.
Example:
If the acid is in WARN MODE and run under BATCH facility, the option has to be set to WARNPW to make it work as expected. If NOWARPW is set, then a RC=0000 will always be returned.
The easiest way to test is with an acid in FAIL MODE to avoid any confusion.
This tip is valid for any RACROUTE call.