Names of Files [ INFORM/V User's Guide ] MPE/iX 5.0 Documentation
INFORM/V User's Guide
Names of Files
INFORM/V considers your terminal as a file from which it reads the
responses to prompts; the formal file designator that INFORM/V uses for
this file is INFOIN. The default for INFOIN is the MPE file $STDINX. If
you want INFORM/V to get your responses from some other file, you must
have a file equation that tells it the name of your file, and you must
put your responses in this file in the same order that INFORM/V issues
the prompts. For example, if you want to put your responses in a file
named RESPOND, you would type the following file equation before running
INFORM/V:
:FILE INFOIN=RESPOND
When INFORM/V prepares the report it will look in the file named RESPOND
for responses to prompts. The file must be unnumbered ASCII.
Similarly, when INFORM/V sends prompts or a report to your terminal, it
uses the formal file name INFOOUT for the terminal (known to MPE/V as
$STDLIST). If you do not want prompts or your report sent to the
terminal, you can type a file equation. For example:
:FILE INFOOUT=MYFILE
In this case, anything that normally appears at the terminal goes to a
file named MYFILE.
INFOLIST is the INFORM/V formal file designator for sending your report
to the line printer. As previously explained, this destination can be
changed with a file equation. To save output in a disc file, type
FILE INFOLIST=filename,NEW;DEV=DISC;REC=132,1,F,ASCII;SAVE
If you request sorting on one or more data names, INFORM/V uses a file
named INFOSORT. The default size of this file is 10,000 records divided
into 30 extents (an extent is a way of grouping records). You can change
the size of this file by using the MPE FILE command. For example, if you
want to decrease the size of INFOSORT to 5000 records, type the
following:
:FILE INFOSORT;DISC=5000
For further information, see the MPE/V File System Reference Manual
(30000-90236), and the MPE/V Commands Reference Manual (30000-90009).
These files are represented graphically in Figure B-1.
File Locations
DICTIONARY/V supplies the location for any files needed by INFORM/V in
the form of a file equation, which has the syntax shown below. The
locations of each file must have been specified in the data dictionary by
your dictionary administrator. If there is more than one location
related to the file or data base, the first one specified is used.
INFORM/V issues the file equation before opening the file and resets it
afterwards.
:FILE filename = alias[/lockword] [.group[.account]][;DEV=cpu#DISC]
where:
filename is the file's primary name.
alias is the file's alias within
the location.
lockword is the file's lockword, if
the file is a MPE and KSAM
file, or the password that
was related to the file, if
the file is a database file.
group is the group the location is
in. (optional)
account is the account the location
is in. (optional)
cpu is the nodename specified on
the already open DSLINE to
the desired system.
+------------+ +------------+
| | | |
| TERMINAL | | TERMINAL |
| OR FILE | | OR FILE |
| | | |
+------------+ +------------+
| |
| INFOIN INFOOUT |
+---------+ +-----------+
(Default $STDINX)| | (Default $STDLIST)
| |
RAPID000.PUB.SYS V V DICT.PUB
+------------+ +---------------------+ +--------------+
| | | | | |
| RAPID000 |--->| INFORM |--->| 6 DICTIONARY |
| | | | | |
+------------+ | | +--------------+
+---------------------+
| |
INFOLIST | | INFOSORT filename;DISC = n
+----------+ +----------+
| (Default ;DEV = LP) |
| |
V V
+----------------+ +--------------+
| | | |
| LINEPRINTER | | SORT |
| OR FILE | | FILE |
+----------------+ +--------------+
(Default = 10000 Rec.)
Figure B-1. File Designators Used by INFORM/V
MPE/iX 5.0 Documentation