Previous Topic: Step 1:  Retrieve Dialog XXXDUPDNext Topic: Step 3:  Define Dialog Options


Step 2: Add a Subschema

In this step, you will associate a subschema with dialog XXXDUPD so that process modules for the dialog can retrieve, modify, and delete departments in the database at run time.

You use the Database Specifications screen to associate a subschema with a dialog. For example:

Accessing the Database Specifications Screen

To access the Database Specifications screen, you enter 3 at the Screen prompt on the Main Menu.

    Add  Modify  Compile  Delete  Display  Switch  ._____________________________________________________________________________.                          CA ADS Online Dialog Compiler                      CA, Inc.     Dialog name . . . . . . .   XXXDADD     Dialog version  . . . . .   1     Dictionary name . . . . .   DEMO     Dictionary node . . . . .   ________     Screen  . . . . . . . . .   3  1. General options                                    2. Assign maps                                    3. Assign database                                    4. Assign records and tables                                    5. Assign process modules             Copyright (C) 2003 CA, Inc.  Command ===>  Enter  F1=Help  F3=Exit  F10=Action

[Enter]

Sample Database Specifications Screen

The Database Specifications screen is displayed.

                             Database Specifications                          Dialog  XXXDUPD   Version     1    Subschema . . . . . . . . . . . .   empss01    Schema  . . . . . . . . . . . . .           Version . . . . . . . . . . . . .      1    Access module . . . . . . . . . .   XXXDADD  Enter  F1=Help  F3=Exit  F4=Prev  F5=Next

For more information on subschemas, see Step 3: Add a Subschema.

When you press the [Enter] key, ADSC associates the named subschema with the dialog if there are no errors, and then redisplays the screen with the following message:

NO ERRORS DETECTED

If a different message is displayed, read the message to determine the problem. If you did not specify a schema name, ask others at your site whether a schema name is required. After you type new values, press [Enter] again.

After you successfully associate a subschema with the dialog, you can proceed to add work record XXX-WK-RECORD to the dialog.