HP 3000 Manuals

OUTPUT [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation


DBChange Plus User's Guide

OUTPUT 

Redirects DBChange and DBAPLUS output to a file or device.

Syntax 

O[UTPUT] {LP  }
         {TERM}

Parameters 

LP                    directs output to the formal file designator
                      DBCOUT.

TERM                  directs output to $STDLIST.

Description 

Use this command to direct DBChange and DBAPLUS output to a file or
device.  If this command is not used, the output is directed to $STDLIST
(the terminal in session mode and the spool file in batch mode).  You can
also direct the output to a file other than $STDLIST by setting the
following file equation:

     :file dbcout= filename;dev=disc;rec=-80,,f,ascii;disc= n;save 
     :run dbcplus.pub.sys 
     >output lp 

where n is the number of records in the file.  If n is not specified, the
default value is 1023, which may not be sufficient for a large database.

Each OUTPUT command supersedes the previous OUTPUT command and closes any
file opened by the previous OUTPUT command.

Each time the OUTPUT LP command is issued, a new file is created.  That
is, OUTPUT LP does not create an appended output file.  If you want to
create an appended output file, set a file equation like the following:

     :build myfile;dev=disc;rec=-80,,f,ascii;disc= n 
     :file dbcout=myfile;acc=append 

or

     :file dbcout= filename;dev=disc;rec=-80,,f,ascii;disc= n;save;acc=append 

In the example below, output is directed to a printer.  The priority is
two, and three copies will be printed:

     >:file dbcout;dev=pp,2,3 
     >output lp 



MPE/iX 5.0 Documentation