Use the execute form of the TIME macro (LINKAGE=SYSTEM) together with the list form of the macro for applications that require reentrant code. The execute form of the macro stores the parameters into the storage area defined by the list form.
The execute form of the TIME macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␣ | One or more blanks must precede TIME. |
TIME | |
␣ | One or more blanks must follow TIME. |
DEC,stor addr | Default: DEC |
BIN,stor addr | stor addr: RX-type address or register (2) - (12). |
MIC,stor addr | |
STCK,stor addr | |
STCKE,stor addr | |
,ZONE=LT | Default: ZONE=LT |
,ZONE=UTC|GMT | Note: This parameter has no meaning if STCK is specified. |
,LINKAGE=SYSTEM | Note: LINKAGE=SYSTEM must be specified in order to obtain the execute form of the TIME macro. |
,DATETYPE=YYYYDDD | Default: DATETYPE=YYYYDDD |
,DATETYPE=MMDDYYYY | Note: This parameter has no meaning if STCK is specified. |
,DATETYPE=DDMMYYYY | |
,DATETYPE=YYYYMMDD | |
,MF=(E,list addr) | list addr: RX-type address or register (2) - (12). |
The parameters are explained under the standard form of the TIME macro with LINKAGE=SYSTEM, with the following exception:
TIME DEC,OUTAREA,LINKAGE=SYSTEM,MF=(E,LIST1),DATETYPE=YYYYMMDD
OUTAREA DS CL16 TIME AND DATE RETURNED