Use this system macro to add an entry to the sense (SNS) table that counts
the number of resources receiving the same sense code on the same command
issued.
Format
- label
- A symbolic name can be assigned to the macro statement.
- SCODE
- This specifies the sense code that is to be updated in the sense
table. The format of the SCODE operand is:
- address
- The symbolic address of a two byte field containing the sense code.
- (reg)
- A register containing the sense code right justified.
- CMD
- This specifies the command that the sense code was received on. The
format of the CMD operand is:
- address
- The symbolic address of a one byte field containing the command.
- (reg)
- A register containing the command right justified.
- NOMSG
- This specifies the return address when no message is to be issued.
The format of the NOMSG operand is:
- address
- The symbolic address of the next instruction to process when no message is
to be issued.
- (reg)
- A register containing the address of the next instruction to process when
no message is to be issued.
- MSG
- This specifies the return address when a message is to be issued.
The format of the MSG operand is:
- address
- The symbolic address of the next instruction to process when a message is
to be issued.
- (reg)
- A register containing the address of the next instruction to process when
a message is to be issued.
- WKREG=Rx
- This specifies a work register for use by the macro. The contents
of the register are unknown upon return. This register must not be R0,
R14, or R15.
- DL=Dx
- This specifies a data level that the macro can use to get a RID
block. This data level must be free on input and will be returned free
on exit from the macro.
- RIDE
- This specifies the RID of the RVT involved. This will be added to
the RID block when the sense is already in the sense table. The format
of the RID operand is:
- address
- The symbolic address of a two byte field containing the RID.
- (reg)
- A register containing the RID right justified.
Entry Requirements
- R9 must contain the address of the ECB being processed.
- The WRKREG must not be R0, R14, or R15.
- The DL specified must not already be holding a block.
Return Conditions
- Control is returned to the MSG label when the sense is not in the table or
the table is full. Control is returned to NOMSG label when the sense is
already in the table.
- The contents of R14, R15, and the register specified on the WKREG
parameter are unknown. The contents of all other registers are
preserved across this macro call.
Programming Considerations
- This macro can be run on any I-stream.
- This macro should only be used when processing a negative response.
- This macro issues a CRETC for wait time. System message rates may
slow the receipt of the summary message.
- When a register is selected as a parameter it must be in the range R0
through R7 and take the form (Rx).
Examples
None.