Previous Topic: Step 4:  Create the XXXDADD Dialog Load ModuleNext Topic: Exit from ADSC


Step 5: Define and Compile Dialog XXXDUPD

To define XXXDUPD, you use the Main Menu screen. If you have just compiled dialog XXXDADD as described in Step 4, you can define dialog XXXDUPD on the Main Menu screen by typing over the dialog name on the screen.

The Department application structure you defined earlier associates dialog XXXDUPD with both dialog functions MODDEP and DELDEP. When you define XXXDUPD, you must use the same name that you used defining functions MODDEP and DELDEP.

You use the Main Menu screen to define dialog XXXDUPD:

Name the Dialog

      Add  Modify  Compile  Delete  Display  Switch    .___________________________________________________________________________.                            CA ADS Online Dialog Compiler                        CA, Inc.       Dialog name . . . . . . .   xxxdupd        Dialog version  . . . . .   1        Dictionary name . . . . .   demo        Dictionary node . . . . .   ________       Screen  . . . . . . . . .   1  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

Add the dialog to the dictionary by specifying the Add activity from the action bar on the Main Menu. After adding the dialog, choose the Assign maps option at the Screen prompts to access the Map Specifications screen.

Name the Map Associated with the Dialog

Go to the Map Specifications screen and name the map. The map is the same map as that associated with the XXXXDADD dialog, XXXMAP.

                               Map Specifications                          Dialog  XXXDUPD   Version     1                                        │    Map name  . . . .   XXXMAP          │    Input map . . . . .   ________    Version . . . . .   1               │    Version . . . . . .   ____                                        │    Label . . . . . . .   ________    Paging options    _ 1. Wait         │                        2. No Wait      │    Output map  . . . .   ________                        3. Return       │    Version . . . . . .   ____                                        │    Label . . . . . . .   ________    Paging mode . . . _ Update          │                      _ Backpage        │    Suspense file label   ________                      _ Auto display    │                                        │  Enter  F1=Help  F3=Exit  F4=Prev  F5=Next  F6=Switch Right

Create the Load Module

After you define the XXXDUPD dialog, you can create a load module for the dialog. Return to the Main Menu by pressing [PF3] and select the Compile activity.

    Add  Modify  Compile  Delete  Display  Switch  ._____________________________________________________________________________.               │                         │               │  1  1. Compile          │ log Compiler               │     2. Display messages │               │-------------------------│ nternational, Inc.               │ F3=Exit                 │               │_________________________│     Dialog name . . . . . . .   XXXDUPD     Dialog version  . . . . .      1     Dictionary name . . . . .   DEMO     Dictionary node . . . . .   ________     Screen  . . . . . . . . .   1  1. General options                                    2. Assign maps                                    3. Assign database                                    4. Assign records and tables                                    5. Assign process modules  Command ===>  Enter  F1=Help  F3=Exit  F10=Action

After you successfully compile the XXXDUPD dialog, you can exit from ADSC or use the Switch activity to access another tool.