CAWA4021E - ERROR ENCOUNTERED CALLING CAWAMAIN - RETURN CODE 20

book

Article ID: 141870

calendar_today

Updated On:

Products

CA File Master Plus for IMS CA File Master Plus

Issue/Introduction

FileMaster REST API .
With starting CAI.CDBISAMP(CAWAFM), the following errors are issued.

INFO 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPService : Logon for amooth successful
INFO 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPService : Invoking CAWAFM
INFO 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPService : Starting script Ytsocmd, ISPSTART BATSCRW(132) BATSCRD(32) CMD(CAWAFM GUIRUN /u/CA/fmmvs/server/temp/3b4d6f8e-50da-44b4-b674-29be75/CA/fmmvs/server/temp/3b4d6f8e-50da-44b4-b674-29be75b33942.pipein )¨
2019-12-11 05:10:44.841 INFO 67174608 --- Y????? Thread-22¨ com.ca.fmp.rest.api.main.StdReader : stderr=>ISPSTART BATSCRW(132) BATSCRD(32) CMD(CAWAFM GUIRUN /u/CA/fmmvs/server/temp/3b4d6f8e-50da-44b4-b674-29be75b33942.pipeout /u
temp/3b4d6f8e-50da-44b4-b674-29be75b33942.pipein )
INFO 67174608 --- Y Thread-23¨ com.ca.fmp.rest.api.main.StdReader:stdout=>IKJ56500I COMMAND CAWAMAIN NOT FOUND
INFO 67174608 --- Y Thread-23¨ com.ca.fmp.rest.api.main.StdReader :stdout=>CAWA4021E - ERROR ENCOUNTERED CALLING CAWAMAIN - RETURN CODE 20
INFO 67174608 --- Y Thread-23¨ com.ca.fmp.rest.api.main.StdReader :stdout=>CAWA4021I - IF NO SYSTEM MESSAGE IS DISPLAYED, A POSSIBLE CAUSE IS THAT YOUR ISPF PROFILE? IS OUT DIRECTORY BLOCKS.
INFO 67174608 --- Y Thread-23¨ com.ca.fmp.rest.api.main.StdReader : stdout=> ...PATH=.SPECIFIED... was preallocated (no free was done).
INFO 67174608 --- Y Thread-22¨ com.ca.fmp.rest.api.main.StdReader : stderr=>FSUMB452 tsocmd: Unexpected error occurred processing TSO/E command "ISPSTART BATSCRW(132) BATSCRD(32) CMD(CAWAFM GUIRUN /u
temp/3b4d6f8e-50da-44b4-b674-29be75b33942.pipeout /u/CA/fmmvs/server/temp/3b4d6f8e-50da-44b4-b674-29be75b33942.pipein )", return code 9016.
INFO 67174608 --- Y Thread-23¨ com.ca.fmp.rest.api.main.StdReader : stdout file closed
INFO 67174608 --- Y Thread-22¨ com.ca.fmp.rest.api.main.StdReader : stderr file closed
INFO 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPServer : Cancelling User AMOOTH 3b4d6f8e-50da-44b4-b674-29be75b33942
INFO 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPService : Cancelling AMOOTH Service
INFO 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPService : Write started 4 bytes
WARN 67174608 --- Yio-51914-exec-2¨ com.ca.fmp.rest.api.main.FMPService : Write failed

Environment

Release : 11.0

Component : CA File Master Plus

 

Resolution

The error CAWA4021E / CAWA4021I was caused by REXX syntax error in CAI.CDBISAMP(CAWAFM). Because of the error, a dataset to be allocated to STEPLIB was not found. 

INSTPRE  = "xxxxxx.FILEMSTR.R110'

It should have ;
INSTPRE  = "xxxxxx.FILEMSTR.R110"