NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
C-105
Examples—CONVERT
NO CLEARONPURGE
NO DCOMPRESS
NO ICOMPRESS
NO SERIALWRITES
NO VERIFIEDWRITES
NO BUFFERED;
CREATE INDEX \NODE.$VOL1.SALES.ORDERS0
ON \NODE.$VOL1.SALES.ORDERS (CUSTNUM)
CATALOG \SYSTEM.$VOL1.SALES
KEYTAG "oc"
EXTENT (4,32)
MAXEXTENTS 100;
?SECTION LOAD_ORDERS
LOAD \NODE.$VOL3.DDL.ORDERTAB, \SYSTEM.$VOL1.SALES.ORDERS,
SOURCEDICT \NODE.$VOL3.DDL,
SOURCEREC ORDER,
USESQLNULLS;
Note that the DDL record definition has been altered by eliminating the DDL group
names and by creating a column for each elementary item in each group.
CONVERT makes these column names unique by appending 2 to the MONTH,
DAY, and YEAR columns derived from the DDL DELDATE group. You can change
these names by editing the file.
The following command performs the conversion:
>> OBEY CNVSRC;