ASMA044E Undefined symbol

Document ID : KB000015137
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

What is causing the error, ASMA044E Undefined symbol - FIB with Assembling using CA DSECTS

Trying to use  four IDMS DSECT's with the following syntax.

COPY  #FIBDS

COPY  #FRPDS

COPY  #FSRDS

 

 

I've included them into my assembler code via the COPY statement but they don't appear to be doing what they should. I am getting ASMA044E UNDEFINED SYMBOLS for names that are definitely in the DSECT's.

Answer:

The indicated DSECTs are actually macros.  To expand properly, change the COPY statements at the beginning to this:

 

#FIBDS TYPE=DSECT SUBSCHEMA HEADER (IB50)

#FRPDS TYPE=DSECT PROCEDURE JUNCTION (RP71)

#FSRDS TYPE=DSECT RECORD DESCRIPTION (SR51)