search cancel

RACROUTE Call Always Returns RC=0000.

book

Article ID: 52575

calendar_today

Updated On:

Products

Cleanup Datacom DATACOM - AD CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services CA ECOMETER SERVER COMPONENT FOC Easytrieve Report Generator for Common Services INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware Top Secret Top Secret - LDAP 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