Printing the Schema [ DBChange Plus User's Guide ] MPE/iX 5.0 Documentation
DBChange Plus User's Guide
Printing the Schema
Use the PRINT SCHEMA command to print the schema. In the following
example, the schema output is directed to the printer. A message is
displayed confirming that the schema output is printed.
>output lp
>print schema
Schema is printed.
>
If you want to print the schema to a disk file, use the filename
parameter as shown in the following example. DBChange Plus automatically
builds a 60000-line, ASCII MPE XL file; however, if you have a schema
file that uses more than 60000 lines of space, you should use the DBCOUT
file equate to build a file large enough to accommodate your schema file.
>print schema filename
Schema is printed.
Refer to "Redirecting Input, Output, and the Schema Listing" in chapter
1, "Introduction to DBChange Plus," or refer to "PRINT SCHEMA" in chapter
10, "DBChange Plus Commands," for a detailed description of the command.
Aborting the PRINT SCHEMA Command
To abort the PRINT SCHEMA command anytime during an interactive session,
press CONTROL Y. The DBCPLUS program prints << CONTROL-Y >> and returns
the prompt for a new command. For example:
>print schema
BEGIN DATABASE ORDERS;
PASSWORDS:
11 CREDIT ;
12 BUYER ;
13 SHIP-REC;
14 CLERK ;
18 DO-ALL ;
ITEMS:
ACCOUNT , I4(0,11,12,13,14,18/);
BINNUM , Z2(/13);
CONTROL y
<< CONTROL-Y >>
>
MPE/iX 5.0 Documentation