HP 3000 Manuals

SAVE [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation


QUERY/V Reference Manual

SAVE 

Creates an MPE file containing data from the the IMAGE data entries
referenced in the current select file.

Syntax 

     SA[VE] filename [/lockword]

Parameters 

filename               is the MPE filename by which the saved select file
                       is known.

lockword               is the lockword that will be associated with the
                       saved select file.

Discussion 

The SAVE command creates a new MPE file containing the IMAGE data entries
selected by the most recent retrieval command.  This select file is saved
as a self-describing (SD) file which means that its user label contains
information about its contents in a standard format.  Refer to Appendix E
for further discussion on self-describing files.

If a file with the specified name already exists, the select file is not
saved and the command terminates.  If you terminate the command with a
CONTROL Y, the existing file is not overwritten and the select file is
not saved.

QUERY's internal select file consists only of record numbers.  However,
when you use the SAVE command, the data, from the entries that qualified
when the retrieval command was executed, is copied into the file.  This
file can then be used by other subsystems such as DSG/3000.  The select
file and the data in the database remain unchanged by the SAVE command.

Saving Multiple Data Set Select Files 

The combined length of the non-compound data entries forming a compound
data entry cannot exceed 2047 words.  The maximum number of data items
that can be contained in a compound data entry is 510.  To save a
multiple data set select file, the previous JOIN command cannot contain
any @ signs.

A data item name can belong to only one data set named in the JOIN
command unless both of the following are true:

 *  The data set and data item are both named in a data item equivalence
    for all the data sets named in the JOIN command that contain that
    data item.

 *  The data item is not a compound item.



MPE/iX 5.0 Documentation