Previous Page Contents Page Next Page

Appendix A: Exit Codes

This section lists the exit codes used by SNAP-IX RJE programs. When a SNAP-IX RJE program operates normally and finishes successfully, it returns an exit code value of 0 (zero). If the program ends because of an error, it returns a nonzero exit code. If you run any of these programs from a shell script, the script can test the exit code to determine the cause of the error and take appropriate action.

Some of the errors in the following list are marked 'Internal error.' This indicates an internal error in SNAP-IX that should not occur during normal operation. If one of these errors occurs, report it to your SNAP-IX support personnel.

1

Memory allocation failure-a malloc operating system call failed.

2

A putmsg operating system call failed.

3

A fork operating system call failed.

4

Could not create a pipe to another process-a pipe operating system call failed. Internal error.

5

An exec operating system call failed.

9

SNAP-IX could not open a file-an fopen operating system call failed.

16

An access operating system call failed.

18

A write operating system call failed.

32

No parameters or options were specified on the command line.

33

An invalid option was specified on the command line.

34

An option specified on the command line was not followed by the appropriate parameter.

35

An option specified on the command line was followed by an invalid parameter.

36

Too many parameters or options were specified on the command line.

37

An invalid program name was specified when starting or stopping a service from the command line. This implies a problem with one of the SNAP-IX executable files; contact support services.

38

A parameter specified on the command line was not followed by the appropriate option.

39

An invalid combination of options was specified on the command line.

61

An error was detected in the configuration file. Check the error log file for more information.

65

The control daemon has not been started, so other components cannot be started.

67

The component you were attempting to start has already been started.

68

The component you were attempting to stop has not been started.

69

The requested action cannot be performed because the SNA software is about to terminate.

71

The requested action cannot be performed because the control daemon has been stopped.

96

SNAP-IX timed out waiting for a message when attempting to start or stop a service.

97

SNAP-IX received an unexpected message when attempting to start or stop a service.

98

SNAP-IX failed to contact the control daemon when attempting to start or stop a service.

112

The primary user name or group name configured for an RJE workstation was not a valid name on the Solaris system computer.

113

SNAP-IX could not build the directory structure for an RJE workstation.

114

RJE internal error.

115

RJE internal error.

116

The output directory configured for an RJE printer or punch was not a valid directory on the Solaris system computer.

117

SNAP-IX could not access the spool directory for the RJE workstation.

118

SNAP-IX could not access the spool status file for the RJE workstation.

119

SNAP-IX could not open the RJE code conversion table file.

120

The RJE workstation has been stopped, either because the snarjestop command was issued or because a time-out was specified when starting the workstation.

121

The RJE console program received a SIGTERM signal (probably from a Solaris system kill command).

122

The screen size in terminfo is too small to run the RJE console program; it must be at least 80 columns wide.

123

SNAP-IX could not open the RJE console directory for an RJE workstation. This is probably because the RJE workstation (or the snajobsub command) has not yet been run, and so the workstation's directory structure has not yet been built.

124

The job specified on the command could not be canceled because it was not in WAITING state.

125

The job specified on the command could not be canceled because it was not submitted by this user.

126

The job specified on the command could not be canceled because the RJE workstation was in the process of updating its status. Retry the command.

127

The job specified on the command did not exist.

128

The RJE workstation name specified was invalid.

129

No RJE workstation name was specified.

130

The RJE job could not be submitted because the spool for this workstation is already full.

131

The RJE workstation cannot start because either the user name bin or the group name sna is not defined on the Solaris system computer.

132

The RJE workstation failed to create the data file for a submitted job. Retry the submission; if it continues to fail, contact support services.

133

The RJE workstation failed to create the job file for a submitted job. Retry the submission; if it continues to fail, contact support services.

134

The RJE workstation could not write to the data file for a submitted job. This may be because the disk is full, or because a disk error has occurred.

135

An invalid embedded command was found in the submitted RJE job file.

136

The submitted RJE job file contained more than five levels of included files.

138

An invalid option was specified to the snarjestat program.

139

The supplied RJE host command was too long. Check the command syntax and retry.

140

An error occurred in reading the RJE console log file.

141

There are no active LUs available for use by the RJE workstation.

142

A specified directory path was too long.

143

SNAP-IX could not access the directory used to hold temporary files for an RJE workstation. Check that the directory defined in the workstation style file exists, and that the primary user and group of the workstation have read and write access to it.

176

The path of the temporary directory, specified in the RJE workstation style file, is too long.

177

An RJE program could not establish contact with the node. Check that the node is running.

178

SNAP-IX attempted to restart the workstation after a node failure (or after the SNA software was stopped and restarted), but the attempt failed. Check the log files for more information.

179

An RJE command was issued on the wrong computer. It must be issued on the computer where the RJE workstation is defined.

9503

SNAP-IX could not create a temporary file for submitting an RJE job. Check that the directory defined in the workstation style file exists, and that the primary user and group of the workstation have read and write access to it.

9527

RJE internal error.

9528

RJE internal error.

9529

RJE internal error.

9530

RJE internal error.

Previous Page Contents Page Top of Page Next page