gtpg2m41General Macros

SYSRA-Application System Error

This general macro is used by application programs to initiate error processing. It is used to communicate basic error information to the computer operator via the control program SERRC macro, and to start appropriate user recovery programs.

Format




label
A symbolic name can be assigned to the macro statement.

P1
This is required. It specifies where control is to be given after processing.

E
EXITC after SERRC.

R
Return to NSI after SERRC.

EM
EXITC after calling the Error Monitor.

RM
Return to NSI after calling the Error Monitor.

P2=hhhhhh
This is required. It must be a hexadecimal error number in the range X'1-FFFFFF'.

P3=MSG
This is a message option.

If coded, it must be MSG. It specifies that R0 contains the address of additional message text destined for the CRAS. The first byte at this address is the character count. The message can be a maximum of 255 bytes.

P4=ccc
These are the last three characters of the data record fix program to be executed after the Error Monitor. It is optional. If coded, P1=EM or P1=RM must be coded.

If coded, it must be one of the following: XMT, XEX, XFC, XID, XIG, XIM, XNC, XNA, XNI, XNF, XNS, XRT, XOF, XOR, XPI, XPD, XPG, XPW, XPQ, XTF.

P5=label1
This is the symbolic location to which control will be given if a hardware error has been detected by the CP and either P1=R or P1=RM has been coded. It is optional.

P6=label2
The symbolic location where control will be transferred if an invalid file address has been detected by the CP and either P1=R or P1=RM has been coded. The parameter is optional.

P7
The prefix character that will be concatenated with the system error number if P1=R or P1=E has been coded and a SERRC is issued. The letters I and W through Z are reserved for IBM use. The default is P7=U.

Entry Requirements

R9 must contain the address of the ECB being processed.

Return Conditions

Programming Considerations

Examples

None.