Dictionary/3000 Reference Manual (32244-90001)

Chapter 5 155
Dictionary/3000 Utilities
DICTDBC
filename sends the listing to the existing or to a new disc file. Before over-writing an
existing file, you are prompted to approve purging the existing file's
contents.
*filename sends the listing to the file identified in the back referenced file equation.
Pressing [[RETURN]] in response to this prompt sends the listing to the terminal. If
security was only defined for the data items and now the security should only apply to the
data set, enter YES to the following prompt:
APPLY SECURITY JUST TO SET LEVEL(N/Y)?>
If NO is entered or [[RETURN]] is pressed in response to this prompt, the security
specified for the data items is written into the schema file. If YES is entered in response to
this prompt, DICTDBC will write the set level security into the schema file. The set level
security is derived from the class or classes assigned to the set in the data Dictionary or, if
none are specified, it is extrapolated from data item security specifications.
DICTDBC then executes the schema processor. Regardless of whether a schema and a root
file are created, DICTDBC terminates after the schema processor has executed. If errors
prevent a root file from being created, the errors must be corrected before DICTDBC can
be re-executed.
The following example shows how to execute DICTDBC and briefly explains the responses
to the prompts.
Example
:RUN DICTDBC.PUB.SYS Executes DICTDBC.
<The Dictionary/3000 DB Creator program banner appears here.>
DICTIONARY PASSWORD> Data Dictionary's password.
BASE> SHPMGT Name of base to be created.
CONTROL LINE> [[RETURN]] pressed; default used.
SCHEMA FILE> [[RETURN]] pressed; session temporary
file created.
LIST FILE> [[RETURN]] pressed; listing sent to
terminal.
APPLY SECURITY JUST TO SET LEVEL(N/Y)?> [[RETURN]] pressed; use item level
security.
SCHEMA GENERATION DICTDBC executes for you.
DBSCHEMA generates the following listing at your terminal:
DBSCHEMA PROCESSOR
PAGE 1 <The IMAGE/3000 DBSCHEMA program banner appears here.>
BEGIN DATABASE SHPMGT;
PASSWORDS:
1 SALESPER;
2 RECEIVING;