rfc407.txt

来自「RFC 的详细文档!」· 文本 代码 · 共 1,215 行 · 第 1/4 页

TXT
1,215
字号






                                   15

                                               REMOTE Job Entry Protocol
                                                         (Oct. 16, 1972)
                                                       RFC 407 NIC 12112
                                                                        
                                                                        
   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
   204 A REINIT command has been executed, as requested
   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>
   264 Job <job-id>,<job-file-id> transmission in progress
   300 Connection greeting message, awaiting input
   301 Current command not completed (may be sent after
      suitable delay, if not "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 thru FTP
   442 RJE could not establish <host-socket> input connection



                                   16

                                               REMOTE Job Entry Protocol
                                                         (Oct. 16, 1972)
                                                       RFC 407 NIC 12112
                                                                        
                                                                        
   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 accessable 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 Request Alteration is not permitted for the specified job
   466 Un-deliverable, un-claimed output for <job-id> discarded
   467 Requested REINIT not accomplished
   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
   507 Job <job-id> last command line completely unrecognized
   508 Job <job-id> syntax of the last command is incorrect
   509 Job <job-id> last command incomplete, parameters missing
   510 Job <job-id> last command invalid, illegal parameter
      combination
   511 Job <job-id> last command invalid, action impossible at
      this time
   512 Job <job-id> last command conflicts illegally with previous
      command(s)

SEQUENCING OF COMMANDS AND REPLIES

   The communication between the User and Server is intended to be an
   alternating dialogue.  As such, the User issues an RJE command and
   the Server responds with a prompt primary reply.  The User should
   wait for this initial success or failure response before sending
   further commands.

   A second type of reply is sent by Server asynchronously with respect
   to User commands.  These replies report on the progress of a job
   submission caused by the INPUT command and as such are secondary
   replies to that command.

   The final class of Server "replies" are strictly informational and
   may arrive at any time.  These "replies" are listed below as
   spontaneous.



                                   17

                                               REMOTE Job Entry Protocol
                                                         (Oct. 16, 1972)
                                                       RFC 407 NIC 12112
                                                                        
                                                                        
COMMAND-REPLY CORRESPONDENCE TABLE

   COMMAND                    SUCCESS          FAILURE

   REINIT                     204              467,500-505
   USER                       230,330          430-432,500-505
   PASS                       230              430-432,500-505
   BYE                        231,232          500-505
   INID                       200              500-505
   INPASS                     200              500-505
   INPATH                     200              500-505
   INPUT                      240              360,440-442,500-505
      sec. input retrieval    260              460,461
      sec. job execution      261              462,463
      sec. output transmission -               443-445,466
   ABORT (input)              201,202          500-505
   OUTUSER                    200              500-505
   OUTPASS                    200              500-505
   OUT                        200              500-505
   CHANGE                     200              500-505
   RESTART/RECOVER/BACK
    /SKIP/ABORT (output)/HOLD 203              464,500-506
   STATUS                     1xx,264          460-465,500-505
   CANCEL                     262              464,500-506
   ALTER                      263              464,465,500-506
   OP                         200              500-505
   Spontaneous                0xx,300,301      434-436

   Note:  For commands appearing on cards, a separate set of error codes
   is provided (507-512).  Since these error replies are
   "asynchronously" sent, and thus could cause some confusion if the
   user is in the process of submitting a new job after the present one,
   the error replies must identify which job has the faulty card(s).



















                                   18

                                               REMOTE Job Entry Protocol
                                                         (Oct. 16, 1972)
                                                       RFC 407 NIC 12112
                                                                        
                                                                        
   TYPICAL RJE SCENARIOS

      TIP USER WANTING HOT CARD READER TO HOSTX

         1. TIP user opens TELNET connection to HOSTX socket 5

         2. Commands sent over TELNET to RJE

            USER=myself
            PASS=dorwssap
            OUT=H70002
            INPUT=H50003

         3. RJE-server connects to the TIP's device 5 and begins
            reading.  When end-of-job card is recognized, the job is
            queued to run.  The connection to the card reader is still
            open for more input as another job.

         4. The first job finishes.  A connection to the TIP's device 7
            is established by RJE-server and the output is sent as an
            NVT stream.

         5. Continue at any time with another deck at step 3.

      TIP WITH JOB-AT-A-TIME CARD READER

         1. thru 4) the same but User closes Reader after the deck

         2. The output finishes and the printer connection closes.

         3. INPUT may be typed any time after step 3 finishes and
            another job will be entered starting at 3.




















                                   19

                                               REMOTE Job Entry Protocol
                                                         (Oct. 16, 1972)
                                                       RFC 407 NIC 12112
                                                                        
                                                                        
      HOSTA USER RUNS JOB AT HOSTC, INPUT FROM HOSTB

         1. User TELNET connects to HOSTC socket 5 for RJE

            USER=roundabout
            PASS=aaabbbc
            OUTUSER=roundab1
            OUT=:E/.sysprinter
            OUT puncher = (S)HOSTB:NE/my.savepunch
            INUSER=rounder
            INPASS=x.x.x
            INPUT=HOSTB:E/my.jobinput

         2. The RJE-server has FTP retrieve the input from HOSTB using
            User-id of "rounder" and Password of "x.x.x" for file named
            "my.jobinput".

         3. The job finishes.  RJE-server uses FTP to send two files:
            the print output is sent to HOSTA in EBCDIC with ASA
            carriage control to file ".sysprinter" while the file known
            as "puncher" is sent to HOSTB in EBCDIC without
            carriage-control to file "my.savepunch".

         4. when the outputs finish, RJE-server at HOSTC discards the
            print file but retains the "puncher" file.

         5. The User who has signed out after job submission has gotten
            his output and checked his file "my.savepunch" at HOSTB.  He
            deletes the saved copy at HOSTC by re-calling RJE at HOSTC.

            USER=roundabout
            PASS=aaabbbcc
            ABORT job 123 puncher
                   or
            CHANGE job 123 puncher = (D)

















                                   20

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?