Next: Error Messages
Up: OPM Schema Translator
Previous: The Structure of
opm2dbms [ - tT ]
[ - dD ]
[ - zZ ]
[ - eE ]
[ - hH ]
file
where
- T
- can be either
s11 (for Sybase 11),
s10 (for Sybase 10),
s4 (for Sybase 4.0 -4.9),
or o7 (for Oracle 7),
and specifies the target DBMS.
If the -t option is not specified, Sybase 11
is assumed by default.
- D
- is the database device name.
If the -d option is not specified,
then the default device name is ``default''.
(Note that this feature only works for Sybase databases.)
- Z
- is the size of database in Mb.
If the -z option is not specified,
then the default size is 10 (Mb).
(Note that this feature only works for Sybase databases.)
- E
- is the error code number used as a basis
for error messages in generated stored procedures and triggers.
For Sybase,
this number must be greater or equal to 17000;
if this number is not specified,
then the default error code number used as basis is 70000.
For Oracle,
this number must be between -20000 and -20990;
if this number is not specifiied,
then the default code number used as basis is -20000.
If the -e option is not specified, then
the OPM default error messages and procedures are used.
- H
- can be either n (hooks for user
specified code are not needed) or y (hooks for user specified code
are needed).
If the -h option is not specified, then ``hooks not needed''
is assumed by default.
(Note that this feature only works for Sybase databases.)
- file
- is the input file containing an OPM schema.
Figure 1: The Structure of the OPM Schema Translator
Next: Error Messages
Up: OPM Schema Translator
Previous: The Structure of