Specifying the name of a structure

 

To allow more than one instance of a structure to be declared, the macro that generates the structure prefixes the name of each field with a user-specifiable string and an underscore character (_). Specify the string when you invoke the macro. If you do not specify a string, the macro uses the name of the structure to construct the prefix:

* Declare two object descriptors
         CMQODA                 Prefix used="MQOD_" (the default)
MY_MQOD  CMQODA                 Prefix used="MY_MQOD_"

The structure declarations in the Application Programming Reference show the default prefix.

 

Parent topic:

Coding in System/390 assembler language


fg11790_