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


Unnamed section

HLASM Language Reference
SC26-4940-06

The unnamed section is an executable section that can be initiated in one of the following two ways:
  • By coding a START, CSECT, RSECT, or COM instruction without a name entry
  • By coding any instruction, other than the START, CSECT, or RSECT instruction, that initiates the first executable section

An unnamed control section is sometimes referred to as private code. Private code sections are sometimes difficult to manage with other system components such as linkers and configuration management tools. Avoiding their use is recommended. (Zero-length private code sections are sometimes ignored or discarded by system linkers.)

All sections should be given names so they can be referred to symbolically:
  • Within a source module
  • In EXTRN and WXTRN instructions
  • In linker control statements for section ordering and replacement, and for linkage between source modules

Unnamed common control sections or dummy control sections can be defined if the name entry is omitted from a COM or DSECT instruction.

If you include an AMODE or RMODE instruction in the assembly and leave the name field blank, you must provide an unnamed control section.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014