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


Continuation lines

HLASM Language Reference
SC26-4940-06

To continue a statement on another line, follow these rules:
  1. Enter a non-space character in the continuation-indicator field (column 72). This non-space character must not be part of the statement coding. When more than one continuation line is needed, enter a non-space character in column 72 of each line that is to be continued.
  2. Continue the statement on the next line, starting in the continue column (column 16). Columns to the left of the continue column must be spaces. Comment statements can be continued after column 16.

If an operand is continued after column 16, it is taken to be a comment. Also, if the continuation-indicator field is filled in on one line and you try to start a new statement after column 16 on the next line, this statement is taken as a comment belonging to the previous statement.

Specify the FLAG(CONT) assembler option to instruct the assembler to issue warning messages when it suspects a continuation error in a macro call instruction. Refer to the FLAG option description in the section "FLAG" in the HLASM Programmer's Guide for details about the situations that might be flagged as continuation errors.

Unless it is one of the statement types listed in Alternative statement format, nine continuation lines are allowed for a single assembler language statement.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014