rfc407.txt
来自「RFC 的详细文档!」· 文本 代码 · 共 1,215 行 · 第 1/4 页
TXT
1,215 行
Another USER command may be sent by the User at any time to
change Users. Further input will then be charged to the new
user. A server may refuse to honor a new user command if it is
not able to process it in its current state (during input file
transfer, for example), but the protocol permits the USER
command at any time without altering previous activity. An
incorrect subsequent USER command or its following PASS command
are to be ignored with error response, leaving the original
User logged-in.
It is permissable for a server to close the TELNET connection
if the initial USER/PASS commands are not completed within a
server specified time period. It is not required or implied
that the "logged-on" User's user-id be the one used for file
transfer or job execution, but only identifies the submitter of
the command stream. Servers will establish their own rules
relating user-id with the job-execution-user for Job or Output
alteration commands.
Successful "log-on" always clears any previous Input or Output
default parameters (INID, etc.).
5
REMOTE Job Entry Protocol
(Oct. 16, 1972)
RFC 407 NIC 12112
PASS
Pass = <password>
This command immediately follows a USER command and completes
the "log-on" procedure. Although a particular Server may not
require a password and has already indicated "log-on ok" after
the USER command, every Server must permit a PASS command (and
possibly ignore it) and acknowledge it with a "log-on ok" if
the log-on is completed.
BYE
BYE
This command terminates a USER and requests the RJE server to
close the TELNET connection. If input transfer is not in
progress, the TELNET connection may be closed immediately; if
input is in progress, the connection should remain open for
result response and then be closed. During the interim, a new
USER command (and no other command) is acceptable.
An unexpected close on the TELNET connection will cause the
server to take the effective action of an ABORT and a BYE.
INID/INPASS
INID = <user-id>
INPASS = <password>
The specified user-id and password will be sent in the File
Transfer request to retrieve the input file. These parameters
are not used by the Server in any other way. If this command
does not appear, then the USER/PASS parameters are used.
INPATH/INPUT
INPATH = <file-id>
INPUT = <file-id>
INPUT
NOTE: The following syntax will be used for output as well.
<file-id>::= <host-socket> | <host-file>
<host-socket>::= <host>,<socket><attributes> |
<socket><attributes>
no <host> part implies the User-site host
<host>::= <integer>
<socket>::= <integer>
6
REMOTE Job Entry Protocol
(Oct. 16, 1972)
RFC 407 NIC 12112
<integer>::= D<decimal-integer> | O<octal-integer> |
H<hexadecimal-integer>
<host-file>::= <host><attributes>/<pathname>
<attributes>::= <empty> | :<transmission><code>
<transmission>::= <empty> | T | A | N
<empty> implies default which is N for Input files
and A for Output files
T specifies TELNET-like coding with embedded
"crlf" for new-line, "ff" for new-page
N specifies FTP blocked transfer with record
marks but without other carriage-control
A specifies FTP blocked records with ASA
carriage-control
(column 1 of image is forms control)
<code>::= <empty> | E
<empty> specifies NVT ASCII code
E specifies EBCDIC
<pathname>::= <any string recognized by the FTP Server at
the site of the file>
The <file-id> syntax is the general RJE mechanism for
specifying a particular file source or destination for input or
output. If the <host-socket> form is used then direct transfer
will be made by the RJE-Server to the named socket using the
specified <attributes>. If the <host-file> form is used then
the RJE-server will call upon its local FTP-user process to do
the actual transfer. The data stream in this mode is either
TELNET-like ASCII or blocked records (which may use column 1
for ASA carriage-control). Although A mode is permitted on
input (column 1 is deleted) the usual mode is the default N.
The output supplies carriage-control in the first character of
each record ("blank" = single-space, "1" = new-page, etc.),
while the optional N mode transfers the data only (as to a card
punch, etc.).
The <pathname> is an arbitrary Unrecognized string which is
saved by RJE-server and sent back over FTP to the FTP-server to
retrieve or store the appropriate files.
INPATH or INPUT commands first store the specified <file-id> if
one is supplied, and then the INPUT command initiates input.
The INPATH name may be used to specify a file-id for later
input and the INPUT command without file-id will cause input to
initiate over a previously specified file-id. An INPUT "crlf"
command with no previous <file-id> specified is illegal.
7
REMOTE Job Entry Protocol
(Oct. 16, 1972)
RFC 407 NIC 12112
ABORT
ABORT
This command aborts any input retrieval in progress, discards
already received records, and closes the retrieval connection.
Note: ABORT with parameters is an Output Transmission control
(see below).
OUTUSER/OUTPASS
OUTUSER = <user-id>
OUTPASS = <password>
The specified user-id and password will be sent in the File
Transfer request to send the output file(s). These parameters
are not used by the Server in any other way. If this command
does not appear, then the USER/PASS parameters are used.
OUT
OUT <out-file> = <disp>
<out-file>::= <empty> | <job-file-id>
<empty> implies the primary print file of the job
<job-file-id>::= <string representing a specific output file
from the job as recognized by the Server>
<disp>::= <empty><file-id> | (H) | (S)<file-id>|(D)
<empty> specifies Transmit then discard
(H) specifies Hold-only, do not transmit
(S) specifies Transmit and Save
(D) specifies discard without transmitting
Note: Parentheses are part of the above elements.
<file-id>::= (same as for INPUT command)
This command specifies the disposition of output file(s)
produced by the job. Unspecified files will be Hold-only by
default. The OUTUSER, OUTPASS, and OUT commands must be
specified before the INPUT command to be effective. These
commands will affect any following jobs submitted by this USER
over this RJE-TELNET connection. A particular job may override
these commands by NET control cards on the front of the input
file.
Once output disposition is specified by this OUT command or by
a NET OUT card, the information is kept with the job until
final output disposition, and is modifiable by the CHANGE
command.
8
REMOTE Job Entry Protocol
(Oct. 16, 1972)
RFC 407 NIC 12112
On occasion, the server may find that the destination for the
output is "busy" (i.e., RFC to either Server-FTP or specified
socket is refused), or that the host which should receive the
output is dead. In these cases, the server should wait several
minutes and then try to transmit again.
OUTPUT RE-ROUTE
CHANGE <job-id><blank><out-file> = <disp>
This command changes the output disposition supplied with the
job at submission. The <job-id> is assumed recognizable by the
RJE-server, who may verify if this USER is authorized to modify
the specified job. After the job is identified, the other
information has the same syntax and semantics as the original
OUT command. CHANGE command may be specified for a job-file-id
which was not mentioned at submission time and has the same
effect as an original OUT command.
OUTPUT CONTROLS DURING TRANSMISSION
<command><blank><count><blank><what>
<command>::= RESTART | RECOVER | BACK | SKIP |
ABORT | HOLD
These commands specify (respectively):
Restart the transmission (new RFC, etc.)
Recover restarts transmission from last FTP
Restart-marker-reply
(see FTP).
Back up the output "count" blocks
Skip the output forward "count" blocks
Abort the output, discarding it
Abort the output, but Hold it
<count>::= <empty> | <integer>
<empty> implies 1 where defined
<what>::= @<file-id> | <job-id><job-file-id>
<disp>::= (same as for OUT command)
<file-id>::= (same as for INPUT command)
<integer>::= (same as for INPUT command)
<job-id>::= <server recognized job identifier which was supplied
at INP completion by the server>
<job-file-id>::= <server recognized file identifier or if missing
then the prime printer output of the specified
job>
9
REMOTE Job Entry Protocol
(Oct. 16, 1972)
RFC 407 NIC 12112
This collection of commands will modify the transmission of output
in progress or recently aborted. If output transmission is
cut-off before completion, then the RJE-server will either try to
resend the entire file if the file's <disp> was
Transmit-and-discard or will Hold the file for further User
control if the <disp> was (S) transmit-and-Save. Either during
transmission, during the Save part of a transmit-and-Save, or for
a Hold-only file, the above commands may be used to control the
transmission. The @<file-id> form of <what> is permitted only if
transmission is actually in progress.
If the file's state is inconsistent with the command, then the
command is illegal and ignored with reply.
STATUS
STATUS <job-id>
STATUS <job-id><blank><job-file-id>
These commands request the status of the RJE-server, a
particular job, or the transmission of an output or input file,
respectively. The information content of the Status reply is
site dependent.
CANCEL/ALTER
CANCEL <job-id>
ALTER <job-id><blank><site dependent options>
These commands change the course of a submitted job. CANCEL
specifies that the job is to be immediately terminated and any
output discarded. ALTER provides for system dependent options
such as changing job priority, process limits, Teminate without
Cancel, etc.
OP
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?