HP 3000 Manuals

User-Written Procedures [ RJE User/Programmer Reference Manual ] MPE/iX 5.0 Documentation


RJE User/Programmer Reference Manual

Appendix E  User-Written Procedures 

This chapter discusses the use and structure of procedures written by the
user to be utilized in RJE processing.  RJE supports a procedural
interface for the following commands:  #RJIN, #RJOUT, #RJLIST, #RJPUNCH,
#RJCONTINUE, and #RJSTAT.

For RJE/V, the procedure must be written in SPL. For RJE/XL, the
procedure may be written for execution in compatibility mode (SPL) or
native mode; but native mode procedures must have compatibility mode
switch stubs in the SL.

User-written procedures enable you to use RJE in nonstandard situations;
for example, merging data from several input files prior to transmission
without making an additional pass over the data.

User-written procedures can be utilized for the following purposes:

 *  Error recovery, when specified in an #RJCONTINUE command.

 *  All RJE subsystem commands that move data between one system to
    another may specify user supplied procedures to analyze data passed
    and, based on data condition, add command file names to the message
    file for future processing.  The #RJCONTINUE and #RJSTAT commands can
    add command file names to the message file based on error conditions
    and performance information, respectively.

 *  Using the #RJIN and #RJOUT commands, you may establish output routing
    capability between communicating HP 3000 computer systems by devising
    procedures for formatting and transmitting input and for processing
    output.

This chapter includes the following information:

 *  Specifying user-written procedures in commands

 *  The RJE procedural interface

 *  Writing to a message file from a user-written procedure

 *  Examples of user-written procedures

 *  Preparing and installing user-written procedures



MPE/iX 5.0 Documentation