ddlc (1) --- interface to Prime DBMS schema compiler 08/11/81
_U_s_a_g_e
ddlc
[-l [
]]
[-z ]
_D_e_s_c_r_i_p_t_i_o_n
'Ddlc' serves as the Subsystem interface to the Prime DBMS
schema compiler (SCHEMA). It examines its option
specifications and checks them for consistency, provides
Subsystem-compatible default file names for the listing and
output files as needed, and then produces a Primos SCHEMA
command and causes it to be executed.
The "-l" option is used to select the name of the file to
receive the listing generated by the compiler. If a file
name follows the option, then that file receives the
listing. If the "-l" option is specified without a file
name following it or is not specified, a default filename is
constructed from the input filename by changing its suffix
to ".l". For example, if the input filename is "gonzo.ddl",
the listing file will be "gonzo.l"; if the input filename is
"bar", the listing file will be "bar.l".
The input filename must be a disk file name (conventionally
ending in ".ddl").
In summary, then, the default command line for compiling a
file named "file.ddl" is
ddlc file.ddl -l file.l
which corresponds to the SCHEMA command
schema -i *>file.ddl -l *>file.l
_E_x_a_m_p_l_e_s
ddlc file.ddl
ddlc payroll.ddl -l l_payroll
ddlc funnyschema.ddl -z"-newopt"
_M_e_s_s_a_g_e_s
"Usage: ddlc ..." for invalid option syntax.
"missing input file name" if no input filename could be
found.
": unreasonable input file name" if an attempt was
made to read from the null device or the line printer
spooler.
"Sorry, the listing file must be a disk file" if the listing
ddlc (1) - 1 - ddlc (1)
ddlc (1) --- interface to Prime DBMS schema compiler 08/11/81
file was directed to a device file.
_B_u_g_s
'Ddlc' pays no attention to standard ports.
There is no way to avoid getting a listing file.
_S_e_e _A_l_s_o
cdmlc (1), csubc (1), fdmlc (1), fsubc (1)
ddlc (1) - 2 - ddlc (1)