HP 3000 Manuals

CHANGING INPUT, LIST AND OUTPUT FILES [ DICTIONARY 3000 ] MPE/iX 5.0 Documentation


DICTIONARY 3000

CHANGING INPUT, LIST AND OUTPUT FILES 

DICTCDE uses the formal file designators DICTIN for the input file,
DICTOUT for the output file and DICTLOG for the response log file.  The
responses made to DICTCDE interactively are logged to the editor file
DICTLOG. This file is session-temporary.  An MPE SAVE command must be
used to save this file as a permanent file (see example below).  All
responses are logged except for those made to COBEDIT or any MPE commands
used while running DICTCDE.

DICTCDE can be run interactively or from within a job stream.  DICTCDE
can also be executed to accept previously entered responses from the
terminal as follows:

1.  RUN DICTCDE.PUB.SYS               Responses are made at the terminal
                                      and written to DICTLOG.

2.  SAVE DICTLOG                      Saves DICTLOG as a permanent file.

3.  RENAME DICTLOG, LOGFILE           Renames DICTLOG to the file
                                      LOGFILE.

4.  FILE DICTIN=LOGFILE               The input will be the responses
                                      previously entered.

5.  RUN DICTCDE.PUB.SYS               DICTCDE now accepts the responses
                                      in LOGFILE.

6.  RESET DICTIN

Please note that when DICTLOG is used as the input file, DICTCDE expects
that all the same prompts will be issued as when DICTCDE was previously
run.  For example, if you enter a new copylib name to be used the first
time DICTCDE is run, you must purge the copylib name before re-running
DICTCDE using DICTLOG as the list file.  (If the copylib is not purged,
the sequence of responses in DICTLOG will not follow the order of the
prompts that will be issued by DICTCDE.) If the specified copylib already
existed the first time DICTCDE was run, it must also exist when DICTCDE
is run again using DICTLOG as the list file.

All terminal output, including the echoed source code, is written to
DICTOUT (which is the terminal when DICTCDE is run interactively).  The
terminal output can be written to a disc file by redirecting DICTOUT to a
disc file as shown below:

     :FILE DICTOUT; SAVE

The terminal output will be echoed to the terminal and written to the
disc file.  Note that the MPE SAVE option must be part of the file
equation or the file will not be saved as a permanent file.  This file
must not already exist (it will be created for you).  If this file
already exists, DICTCDE will open $STDLIST instead and issue a warning
message.


MPE/iX 5.0 Documentation