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


AREAD instruction

HLASM Language Reference
SC26-4940-06

The AREAD instruction assigns an arbitrary character string value to a SETC symbol.

The AREAD instruction has two formats. The first format lets you assign to a SETC symbol the character string value of a statement that is placed immediately after a macro instruction.

The AREAD instruction can only be used inside macro definitions.
Read syntax diagramSkip visual syntax diagram
Assign character string value

>>-SETC_symbol--AREAD--+---------+-----------------------------><
                       +-NOPRINT-+   
                       '-NOSTMT--'   

The second format of the AREAD instruction assigns to a SETC symbol a character string containing the local time.
Read syntax diagramSkip visual syntax diagram
Assign local time

>>-SETC_symbol--AREAD--+-CLOCKB-+------------------------------><
                       '-CLOCKD-'   

SETC_symbol
Is a SETC symbol. See SETC instruction.
NOSTMT
Specifies that the statement to be read by the AREAD instruction is printed in the assembly listing, but not given any statement number.
NOPRINT
specifies that the statement does not appear in the listing, and no statement number is assigned to it.
CLOCKB
Assigns an 8-character string to SETC_symbol containing the local time in hundredths of a second since midnight.
CLOCKD
Assigns an 8-character string to SETC_symbol containing the local time in the format HHMMSSTH, where HH is a value 00 - 23, MM and SS each have a value 00 - 59, and TH has a value 00 - 99.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014