IKJ56500I COMMAND CAWAMAIN NOT FOUND CAWA4021E - ERROR ENCOUNTERED CALLING CAWAMAIN - RETURN CODE 20
search cancel

IKJ56500I COMMAND CAWAMAIN NOT FOUND CAWA4021E - ERROR ENCOUNTERED CALLING CAWAMAIN - RETURN CODE 20

book

Article ID: 44787

calendar_today

Updated On:

Products

File Master Plus for IMS File Master Plus for DB2 for z/OS

Issue/Introduction

I am getting error message as follow when I execute CAI.CDBISAMP(CAWAFM).

IKJ56500I COMMAND CAWAMAIN NOT FOUND
CAWA4021E - ERROR ENCOUNTERED CALLING CAWAMAIN - RETURN CODE 20 

How can I debugging the File Master Plus REXX EXEC?

Resolution

The TRACE R statement at the beginning of the CAWAFM clist after ADDRESS ISPEXEC statement to correct the error.

For example:

/*  REXX EXEC FOR FILE MASTER 9.1                                     */
/*--------------------------------------------------------------------*/
/*     Copyright (c) 2003-2015 CA.  All rights reserved.              */
/*--------------------------------------------------------------------*/
ADDRESS ISPEXEC
TRACE R     
PARSE ARG ZZMENOPT PIPE1 PIPE2 DEBUG
UPPER ZZMENOPT DEBUG