RACROUTE Call Always Returns RC=0000 From Top Secret
search cancel

RACROUTE Call Always Returns RC=0000 From Top Secret

book

Article ID: 52575

calendar_today

Updated On:

Products

Top Secret

Issue/Introduction

The following RACROUTE call was coded, however, with the PHRASE parameter specified, either a RC=0000 or RC=0008 should be returned or others depending on its value. Top Secret always returns 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)

Resolution

There is nothing wrong in the way the RACROUTE call was coded. During testing, if running in DORM mode, the DORMPW facility control option needs to be specified. If running in WARN mode, the WARNPW facility control option needs to be specified. 

For example:
If the acid is in WARN MODE and runs under the BATCH facility, the WARNPW facility control option needs to be set to WARNPW on the BATCH facility for this to 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 is true for any RACROUTE call.