ASMA057E Undefined error codes during Panvalet user mod assembly
search cancel

ASMA057E Undefined error codes during Panvalet user mod assembly

book

Article ID: 76504

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

We have a user mod written for Panvalet and we are getting the following assembly errors:

** ASMA057E Undefined operation code - PVOPT  

** ASMA057E Undefined operation code - OPEN 
** ASMA044E Undefined symbol - PDS 

** ASMA057E Undefined operation code - GETMAIN
** ASMA057E Undefined operation code - FREEMAIN

** ASMA057E Undefined operation code - IECDSECS  

and many more.   

What is wrong and how do we fix the errors?

Resolution

To resolve undefined operation code or symbols add macro libraries to the SYSLIB library concatenation in the assembly step, add CBA3MAC, SYS1.MACLIB and SYS1.MODGEN. These errors typically occur when required macro libraries are missing from the assembly's library concatenation (SYSLIB).

Update the assembler JCL step to include missing MACLIBs in the SYSLIB DD concatenation similar to the following:

//SYSLIB   DD DSN=your.panvalet.CBA3MAC,DISP=SHR                *** Panvalet Target macro PVOPT
//         DD DSN=SYS1.MACLIB,DISP=SHR                          *** IBM z/OS macros
//         DD DSN=SYS1.MODGEN,DISP=SHR                          *** critical z/OS system macros

For applying latest maintenance on usermods CX7UM01 and CX7UM03, ensure jobs are run from the CBA3JCL library (e.g. X7USRMD1 for CX7UM01).