22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The CSECT instruction can be used anywhere in a source module to initiate or<br />

continue a section. For more information about the CSECT instruction, see<br />

“CSECT Instruction” on page 123.<br />

Like the CSECT instruction, the RSECT instruction can be used anywhere in a<br />

source module to initiate or continue a section. Unlike the CSECT instruction,<br />

however, the RSECT instruction causes the assembler to check the coding in<br />

the section for possible violations of reenterability. For more information about<br />

the RSECT instruction, see “RSECT Instruction” on page 212.<br />

A section can also be initiated as an unnamed section, or private code, without<br />

using the START, CSECT, or RSECT instruction. For more information, see<br />

“Unnamed Section” on page 55.<br />

First Section<br />

| Before you initiate the first section in your source module, you may code only<br />

certain instructions. The following information lists those instructions that initiate<br />

the first section, and those instructions that may precede the first section.<br />

| What must appear before the first section: The ICTL instruction, if specified,<br />

must be the first statement in a source module.<br />

*PROCESS statements must precede all other statements in a source module,<br />

except the ICTL instruction. There is a limit of 10 *PROCESS statements allowed<br />

in a source module. Additional *PROCESS statements are treated as assembler<br />

comment statements. See page 102 for a description of the *PROCESS statement.<br />

| What can optionally appear before the first executable control section: The<br />

instructions or groups of instructions that can optionally be specified before the first<br />

| executable control section are:<br />

The following assembler instructions:<br />

ACONTROL ADATA AINSERT ALIAS CEJECT COPY<br />

DXD EJECT ENTRY EXITCTL EXTRN ISEQ<br />

MACRO MEND MEXIT POP PRINT PUNCH<br />

PUSH REPRO SPACE TITLE WXTRN XATTR<br />

Comment statements, including macro format comment statements<br />

Any statement which is part of an inline macro definition<br />

Common control sections<br />

Dummy control sections<br />

Any conditional assembly instruction<br />

| Macro instructions that do not generate statements that establish the first<br />

| section<br />

The above instructions or groups of instructions belong to a source module, but are<br />

not considered part of an executable section.<br />

54 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!