CAWK4021E - ERROR CALLING CAWKMAIN
search cancel

CAWK4021E - ERROR CALLING CAWKMAIN

book

Article ID: 44503

calendar_today

Updated On:

Products

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

Issue/Introduction

WE have error executing cawkfm 
IKJ56500I COMMAND CAWKMAIN NOT FOUND 
CAWK4021E - ERROR ENCOUNTERED CALLING CAWKMAIN - RETURN CODE 20 

Resolution

Some of the past CAWK4021E - ERROR ENCOUNTERED CALLING CAWKMAIN - RETURN CODE 20 were resolved by; 
 
1.  ISPPROF ran out of directory blocks. 
2.  the problem occured because an old IBM REXX load library was in the customer's LNKLST/LIBKLIST - they need it because they have to run some old REXX procedures; 
adding the REXX alternate library to the STEPLIB concatenation of the user TSO logon PROC resolved the problem with File Master; 
3.  An ALIAS was pointing to the wrong datasets. Error in user instructions. 
4.  On Page 67 of the File Master Plus for IMS Installation Guide 
Release 9.1.00 it indicates the following; 
FMIMS 9.1 install guide page 67. 
 
Add ACF2 Security for z/OS User Considerations 
 
If you use ACF2 and the TSO Command Limiting function, add the File Master Plus for IMS commands to the restricted commands list for any TSO users who use the File Master Plus for IMS ISPF interface. 
 

Additional Information

Follow these steps: 
1. Open member CAWKACF2 in cai.CDBJSAMP. 
2. Add the $TSOCMDS statements to all applicable ACF2 restricted command lists.