HP 3000 Manuals

Command I/O Redirection [ COMMUNICATOR 3000/XL XL RELEASE 3.0 ] MPE/iX Communicators


COMMUNICATOR 3000/XL XL RELEASE 3.0

Command I/O Redirection 

by Scott Cressler, Jeff Vance, and Rich Webber 
Commercial Systems Division 

Command I/O Redirection, CIOR, gives you the ability to redirect the
input or output of Command Interpreter (CI) commands.  Redirection means
that CI commands would be able to send their output to or take their
input from a file other than the terminal, such as a disk file or line
printer.

Command I/O Redirection is directed at fairly advanced users of MPE XL,
such as system managers and system programmers.  It allows them to easily
capture any screen output to a file.  It also allows them to provide
predefined or canned input to commands or programs which normally take
input from the terminal.  CIOR is also useful for any user of the CI who
wants to save output of some command for printing or mailing.  CIOR is an
integral part of the MPE XL Command Interpreter.

CIOR FEATURES 

The features provided by Command I/O Redirection are:

   *   Input and output of a command may be redirected to a file.  (The
       following commands cannot use redirection:  CALC, COMMENT, ELSEIF,
       IF, REMOTE, SETVAR, SETJCW, TELL, TELLOP, WARN, and WHILE.)

   *   The redirection is handled by the CI. That is, command executors,
       User Commands, (UDCs and command files) and programs need not be
       modified to take advantage of this feature.

   *   CIOR is available from a session, in jobs, programmatically
       (through the COMMAND and HPCICOMMAND intrinsics), and in BREAK
       mode.

   *   Defaults are provided for opening files for input or output
       redirection.  These may be overridden, however, by providing a
       backreference to a file equation for the file to which I/O is to
       be redirected.

For more detailed information, please refer to the related article in the
"Technical Articles" section in this Communicator.



MPE/iX Communicators