RACROUTE Call Always Returns RC=0000.

book

Article ID: 52575

calendar_today

Updated On:

Products

CA Cleanup CA Datacom - DB CA Datacom CA Datacom - AD CA Datacom - Server CA CIS CA Common Services for z/OS CA 90s Services CA Database Management Solutions for DB2 for z/OS CA Common Product Services Component CA Common Services CA Datacom/AD CA ecoMeter Server Component FOC CA Easytrieve Report Generator for Common Services CA Infocai Maintenance CA IPC Unicenter CA-JCLCheck Common Component CA Mainframe VM Product Manager CA Chorus Software Manager CA On Demand Portal CA Service Desk Manager - Unified Self Service CA PAM Client for Linux for zSeries CA Mainframe Connector for Linux on System z CA Graphical Management Interface CA Web Administrator for Top Secret CA CA- Xpertware CA Top Secret CA Top Secret - LDAP CA Top Secret - VSE

Issue/Introduction

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.

Environment

Release:
Component: AWAGNT