Assembly errors assembling a Panvalet user mod

Document ID : KB000076504
Last Modified Date : 06/04/2018
Show Technical Document Details
Issue:
We have a user mod written for Panvalet and we are getting the following assembly errors:
** 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:
Add  SYS1.MACLIB  and SYS1.MODGEN to the SYSLIB library concatenation in the assembly step --
//     DD DSN=SYS1.MACLIB,DISP=SHR
//     DD DSN=SYS1.MODGEN,DISP=SHR