HP 3000 Manuals

##RJEOD [ RJE User/Programmer Reference Manual ] MPE/iX 5.0 Documentation


RJE User/Programmer Reference Manual

#RJEOD 

The #RJEOD command transmits any remaining data in the last #RJIN buffer
and an EOT (End of Transmission) control character to the remote
processor.

Syntax 

     #RJEOD

Comments 

Normally you will not need to use the #RJEOD' command because RJE
automatically executes an implied #RJEOD command whenever an #RJOUT,
#RJLIST, #RJPUNCH, or #RJEND command follows an #RJIN command.

Successful operation of these commands depend on many conditions,
therefore, it is recommended that you always follow any #RJIN commands
with an #RJEOD command.

If you issue a series of #RJIN commands, the input data sets associated
with the commands are sent as a single transmission with no intervening
EOT control characters.  When an #RJOUT, #RJLIST, #RJPUNCH, or #RJEND
command is subsequently encountered, RJE executes an implied #RJEOD
command.

Examples 

The following examples show different uses of the #RJEOD command.

Example 1 

Some remote job processing systems, for example IBM JES2, require that
the logon card be immediately followed by an EOT control character.  To
accomplish this, use the following command sequence:

     #RJIN;TRUNCATE=NO
     /*SIGNON REMOTEnn password 
     #RJEOD


NOTE The /*SIGNON card image in the command sequence above must follow the specifications of the host system. Usually the word REMOTE is in position 16. An integer is substituted for nn and a password may begin in position 25. Numbering of positions begins with one, starting with the '/' character.
Example 2 Some remote job processing systems, for example IBM JES2, require that each input data set be terminated by an EOT control character. If you are issuing successive #RJIN commands and wish to terminate each input data set with an EOT, use the following command sequence: #RJIN {parameters} #RJEOD #RJIN {parameters} #RJEOD #RJIN {parameters} #RJEOD Sometimes when an error condition occurs, you may be in doubt as to what the current state of the communications line is. In such a case, you can return the line to a known state, the 'control state', by transmitting an EOT control character with an #RJEOD command.


MPE/iX 5.0 Documentation