Skip to main content

Replies over the TELNET Connection

Each action of the RJE-server, including entry of each TELNET command, is noted over the TELNET connection to the User. These RJE-server replies are formatted for Human or Process interpretation. They consist of a leading 3-digit numeric code followed by a blank followed by a text explanation of the message. The numeric codes are assigned by groups for future expansion to hopefully cover other protocols besides RJE (like FTP). The numeric code is designed for ease of interpretation by processes. The three digits of the code are interpreted as follows:

a) The first digit specifies the "type" of response indicated:

000 These "replies" are purely informative, and are issued
voluntarily by the Server to inform a User of some state of
the server's system.

100 Replies to a specific status inquiry. These replies server as
both information and as acknowledgement of the status request.

200 Positive acknowledgement of some previous command/request.
The reply 200 is a generalized "ok" for commands which require
no other comment. Other 2xx replies are specified for
specific successful actions.

300 Incomplete information supplied so far. No major problem, but
activity can not proceed with the input supplied.

400 Unsuccessful reply. A request was correctly specified, but
could not be correctly completed. Further attempts will
require User commands.

500 Incorrect or illegal command. The command or its
parameters were invalid or incomplete from a syntactic view,
or the command is inconsistent with a previous command. The
command in question has been totally ignored.

600-900 Reserved for expansion.

b) The second digit specifies the general subject to which the response refers:

x00-x29 General purpose replies, not assignable to other subjects.

x30 Primary access. There replies refer to the attempt to "log-
on" to a Server service (RJE, FTP, etc.).

x40 Secondary access. The primary Server is commenting on its
ability to access a secondary service (RJE must log-on to a
remote FTP service).

x50 FTP results.

x60 RJE results.

x70-x99 Reserved for expansion.

c) The final digit specifies a particular message type. Since the code is designed for an automation process to interpret, it is not necessary for every variation of a reply to have a unique number, only that the basic meaning have a unique number. The text of a reply can explain the specific reason for the reply to a human User.

Each TELNET line (ended by "crlf") from the Server is intended to be a complete reply message. If it is necessary to continue the text of a reply onto following lines, then those continuation replies contain the special reply code of three blanks.

The assigned reply codes relating to RJE are:

000 General information message (time of day, etc.)
030 Server availability information
050 FTP commentary or user information
060 RJE or Batch system commentary or information
100 System status reply
150 File status reply
151 Directory listing reply
160 RJE system general status reply
161 RJE job status reply
200 Last command received ok
201 An ABORT has terminated activity, as requested
202 ABORT request ignored, no activity in progress
203 The requested Transmission Control has taken effect
230 LOG-on completed
231 Log-off completed, goodbye.
232 Log-off noted, will complete when transfer done
240 File transfer has started
250 FTP file transfer started ok
251 FTP Restart-marker-reply
      Text is: MARK yyyy = mmmm
       where yyyy is data stream marker value (yours)
        and mmmm is receiver's equivalent mark (mine)
252 FTP transfer completed ok
253 Rename completed
254 Delete completed
260 Job (job-id) accepted for processing
261 Job (job-id) completed, awaiting output transfer
262 Job (job-id) Cancelled as requested
263 Job (job-id) Altered as requested to state (status)
300 Connection greeting message, awaiting input
301 Current command not completed
       (may be sent after suitable delay, if no "crlf")
330 Enter password
       (may be sent with hide-your-input mode)
360 INPUT has never specified an INPATH
400 This service is not implemented
401 This service is not accepting log-on now, goodbye.
430 Log-on time or tries exceeded, goodbye.
431 Log-on unsuccessful, user and/or password invalid
432 User not valid for this service
434 Log-out forced by operator action, please phone site
435 Log-out forced by system problem
436 Service shutting down, goodbye.
440 RJE could not log-on to remote FTP for input transfer
441 RJE could not access the specified input file through FTP
442 RJE could not establish (host-socket) input connection
443 RJE could not log-on to remote FTP for output delivery
444 RJE could not access file space given for output
445 RJE could not establish (host-socket) output connection
450 FTP: The named file does not exist (or access denied)
451 FTP: The named file space not accessible by YOU
452 FTP: Transfer not completed, data connection closed
453 FTP: Transfer not completed, insufficient storage space
460 Job input not completed, ABORT performed
461 Job format not acceptable for processing, Cancelled
462 Job previously accepted has mysteriously been lost
463 Job previously accepted did not complete
464 Job-id referenced by STATUS, CANCEL, ALTER, CHANGE, or
      Transmission Control is not known (or access denied)
465 Requested Alteration not permitted for the specified job
466 Un-deliverable, un-claimed output for (job-id) discarded
500 Last command line completely unrecognized
501 Syntax of the last command is incorrect
502 Last command incomplete, parameters missing
503 Last command invalid, illegal parameter combination
504 Last command invalid, action not possible at this time
505 Last command conflicts illegally with previous command(s)
506 Requested action not implemented by this Server