Use the execute form of the STCKCONV macro 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 STCKCONV macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede STCKCONV. |
STCKCONV | |
␢ | One or more blanks must follow STCKCONV. |
STCKVAL=TOD clock addr | TOD clock addr: RX-type address or register (2) - (12). |
STCKEVAL=ETOD clock addr | ETOD clock addr RX-type address or register (2) - (12). |
,CONVVAL=conv addr | conv addr: RX-type address or register (2) - (12). |
,TIMETYPE=DEC |
Default: TIMETYPE=DEC |
,DATETYPE=YYYYDDD |
Default: DATETYPE=YYYYDDD |
,MF=(E,list addr) | list addr: RX-type address or register (1) - (12). |
The parameters are explained under the standard form of the STCKCONV macro with the following exception:
STCKCONV STCKVAL=TODCLOCK,CONVVAL=OUTVAL,TIMETYPE=MIC, X
DATETYPE=YYYYDDD,MF=(E,LIST1)
TODCLOCK DC X'9FE4781301ABE000' TOD CLOCK VALUE
OUTVAL DS CL16 CONVERTED VALUE