IEAMETR can be used to query external time reference (ETR) status and connection information for the current MVS image. This information is returned in the output area specified by the OUTAREA keyword.
The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | Any state or key |
Dispatchable unit mode: | Task mode |
Cross memory mode: | Any PASN, any HASN, any SASN |
AMODE: | 31-bit |
ASC mode: | Primary or access register |
Interrupt status: | Enabled for I/O and external interrupts |
Locks: | None |
Control parameters: | Must be in the primary address space |
None.
None.
Before issuing the IEAMETR macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.
Before issuing the IEAMETR macro, the caller does not have to place any information into any AR unless using it in register notation for a particular parameter, or using it as a base register.
None.
The IEAMETR macro is written as follows:
Syntax | Description |
---|---|
xlabel | xlabel: Optional symbol. Begin xlabel in column 1. The name must conform to the rules for an ordinary assembler language symbol. DEFAULT: No name. |
␢ | One or more blanks must precede IEAMETR. |
IEAMETR | |
␢ | One or more blanks must follow IEAMETR. |
OUTADDR=xoutaddr | |
,MF=S | Default: S |
,MF=(L,xmfctrl,xmfattr | 0D) | |
,MF=(E,xmfctrl,COMPLETE) | |
The parameters are explained as follows:
To code: Specify the RS-type address, or address in register (2)-(12), of a pointer field.
DEFAULT: S
DEFAULT: 0D. 0D forces the parameter list to a doubleword boundary.
DEFAULT: COMPLETE. Checking for required macro keys is done, and defaults are supplied for omitted optional parameters.
Hexadecimal Return Code | Meaning and Action |
---|---|
00 | Meaning: ETR status and port data was
successfully obtained. Action: None. |
04 | Meaning: ETR status information is available,
but port is not. Action: None. |
08 | Meaning: No status or port data is available. Action: None. |
0C | Meaning: The parameter list is not in
the user's primary address space. Action: Use a parameter list in the primary address space. |