##RJCONTINUE [ RJE User/Programmer Reference Manual ] MPE/iX 5.0 Documentation
RJE User/Programmer Reference Manual
#RJCONTINUE
The #RJCONTINUE command identifies a user procedure to be executed when
RJE detects an error. The purpose of this procedure is to evaluate error
conditions as they occur and to determine what action may be taken.
Syntax
#RJCONTINUE @procedurename [{(G)}
{(P)}
{(S)}]
To designate the user-written procedure and the SL file containing it,
precede the actual name of the procedure, procedurename, with an @,
followed optionally by a letter in parentheses indicating the SL file
search order. When G is specified, the segmented library files are
searched in the following order: logon group SL, SL.PUB in the logon
account, SL.PUB.SYS. When P is specified, the segmented library files are
searched in the following order: SL.PUB in the logon account,
SL.PUB.SYS. When Sis specified or the parameter omitted, the system
segmented library file, SL.PUB.SYS is searched.
When an #RJCONTINUE command is executed, previous #RJCONTINUE commands
will not remain in effect. Thus, executing an #RJCONTINUE command
without specifying a procedure name cancels a previously specified error
recovery procedure. For information on user-written procedures, refer to
Appendix E, "User-Written Procedures."
Comments
During interactive mode, if a [CTRL]-Y is entered during execution of a
repeating #RJOUT command (INTERRUPT=YES or REPEAT=YES) before a data set
is received, error recovery will occur. Following error recovery,
command control is returned to the interactive terminal. This applies to
a repeating #RJOUT command in any command file. It also applies to data
sets being received during execution of a command file in programmatic
mode. In both cases, subsequent commands in the command files are not
executed.
NOTE To interpret CS error numbers, refer to Appendix A, "Interpreting
Messages."
MPE/iX 5.0 Documentation