Saving the New Schema [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation
DBChange Plus User's Guide
Saving the New Schema
The DBAPLUS program creates a new schema based on the changes stored in
the change file. This schema is used when the DBAPLUS program calls
DBSCHEMA to build a new root file. The new schema is placed in a
temporary file named dbnameSC. (Any temporary file with the same name
will be purged.) You must use the MPE XL SAVE command on this new schema
file if you want to keep it as a permanent MPE XL file.
To maintain the security of the database passwords when the DBAPLUS
program is run from a batch job, the listing of the new schema is
suppressed with a file equation which sets DBSLIST to $NULL. You must
alter the job stream file when running the DBAPLUS program in batch mode
if you wish to save the schema listing. The job stream example later in
this chapter shows how to do this.
Saving the Schema Processor Output
The schema processor output (DBSLIST) is sent to $STDLIST. You can
redirect this listing to a permanent MPE XL file by issuing the following
file equation before running the DBAPLUS program:
:file dbslist= FileName;dev=disc;rec=-80,,f,ascii;disc= n;save;nocctl
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.
MPE/iX 5.0 Documentation