HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Default class assignments

HLASM Language Reference
SC26-4940-06

High Level Assembler provides compatible behavior with "load module" model object files generated when the NOGOFF option is active. When the GOFF option is specified, the assembler automatically follows each CSECT, RSECT, and START statement by defining two classes: B_TEXT and B_PRV.
  • B_TEXT contains the machine language text associated with the section name, and is assigned the RMODE of the section name. The section name is assigned to an entry point at the origin of the class. If a subsequent CATTR statement declares a class name before any other statements have defined storage, the element defined by the section name and the B_TEXT class name is empty.
  • B_PRV contains any external dummy sections defined by DXD instructions, or by DSECTs named in Q-type address constants. If none are defined, the elements in this class are empty. ("PRV" is the binder's term for a "Pseudo Register Vector", the cumulative collection of external dummy sections.)
  • High Level Assembler assigns the name of the section as an entry name at the initial byte of B_TEXT, and assigns to it the AMODE of the section name.

These two classes are bound in the same way as ordinary control sections. Dummy external sections are bound in the load module model. They can be used to generate a load module if certain restrictions are satisfied.

You can declare other classes in addition to the defaults, but the resulting program object is not convertible to a load module.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014