AREAD instruction

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.

Assign character string value

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

Assign local time

Read syntax diagramSkip visual syntax diagramSETC_symbolAREADCLOCKBCLOCKD
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.