Server state protocol command
The state data for the server state protocol command is mapped by the TMAMHDR DSECT of the DFSYMSG macro.
The server state protocol command is used by OTMA both to notify the OTMA client about the current state or a change in the state of IMS processing and as a heartbeat message, which is issued at 60 second intervals.
The server state protocol command is identified by X'3C' in the command type field (TMAMCTYP) of the message control information section of the OTMA header.
The following table summarizes the format of state data for the server state protocol command. The summary includes byte, length, content, hexadecimal value, the meaning, and includes usage comments.
| Dec offset | Hex offset | Length | Field name | Value and description |
|---|---|---|---|---|
| 0 | X'00' | 2 | TMAMHLEN | Length of the state-data section, including the length field itself. |
| 2 | X'02' | 2 | TMAMRSIM_STATUS | The state of OTMA resources
in the server.
|
| 4 | X'04' | 1 | TMAMRSIM_SVRFLG1 | Flags for resource in
the first group of unavailable resources.
|
| 5 | X'05' | 1 | TMAMRSIM_SVRFLG2 | Reserved |
| 6 | X'06' | 1 | TMAMRSIM_SVRFLG3 | Reserved |
| 7 | X'07' | 1 | TMAMRSIM_SVRFLG4 | Flags for resource in the fourth group of unavailable
resources.
|
| 8 | X'08' | 1 | TMAMRSIM_WRNFLG1 | Flags for resources in
the first group of degraded resources.
|
| 9 | X'09' | 1 | TMAMRSIM_WRNFLG2 | Reserved |
| 10 | X'0A' | 1 | TMAMRSIM_WRNFLG3 | Reserved |
| 11 | X'0B' | 1 | TMAMRSIM_WRNFLG4 | Flags for resources in the fourth group of degraded
resources.
|
| 12 | X'0C' | 1 | TMAMRSIM_NRSFLGS | Other flags for non-resource related indicators.
|
| 13 | X'0D' | 3 | Reserved | |
| 16 | X'10' | 16 | TMAMRSIM_SRVNAME | The 16 character z/OS® cross-system coupling facility (XCF) member name of the OTMA server. |
| 32 | X'20' | 16 | TMAMRSIM_CLTNAME | The 16 character XCF member name of the OTMA client. |
| 48 | X'30' | 20 | Reserved | |
| 68 | X'44' | 12 | TMAMRSIM_UTC | UTC time for this message |