HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Terminal output

HLASM Programmer's Guide
SC26-4941-06

On z/OS and CMS, the TERM option lets you receive a summary of the assembly at your terminal. You can direct the terminal output to a disk data set.

On z/VSE, the TERM option lets you send a summary of the assembly to SYSLOG.

The output from the assembly includes all error diagnostic messages and the source statement in error. It also shows the number of flagged statements and the highest severity code.

The terminal output can be shown in two formats. Figure 2, the wide format, shows the source statements in the same columns as they were in the input data set. Figure 1, the narrow format, shows the source statements which have been compressed by replacing multiple consecutive blanks with a single blank. Use the TERM assembler option to control the format.
Figure 1. Sample terminal output in the NARROW format
  1 &abc setc l'f 00000100
 ASMA137S Invalid character expression - l'f
 000000 3 dc c'' 00000300
 ASMA068S Length error - '
 Assembler Done      2 Statements Flagged / 12 was Highest Severity Code
Figure 2. Sample terminal output in the WIDE format
                                       1 &abc   setc  l'f
                                 00000100
 ASMA137S Invalid character expression - l'f
 000000                                3    dc   c''
                                 00000300
 ASMA068S Length error - '
 Assembler Done      2 Statements Flagged / 12 was Highest Severity Code

You can replace or modify the terminal output using a TERM user exit. See Providing user exits.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014