Previous Topic: Step 4:  Add Process ModulesNext Topic: Correct Errors in Process Modules


Step 5: Recompile the Dialog

In this chapter, you have enhanced dialog XXXDADD by adding a subschema, premap process, and response process to the dialog definition. To update these modifications to the dialog load module, you must recompile the process modules and recompile the dialog by selecting the compile activity from the action bar on the Main Menu:

    Add  Modify  Compile  Delete  Display  Switch  ._____________________________________________________________________________.               │                         │               │  1  1. Compile          │ log Compiler               │     2. Display messages │               │-------------------------│ nternational, Inc.               │ F3=Exit                 │               │_________________________│     Dialog name . . . . . . .   XXXDADD     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 press [Enter] to recompile the dialog, ADSC compiles the process module source code.

ADSC displays a confirming message if no errors are found.

This indicates that the compiled process modules were successfully added to the dialog. If there are no errors, ADSC then creates the dialog load module and redisplays the Main Menu.

Error Messages

If ADSC finds errors while compiling a process, it displays an error message.

In this case, you display and correct errors in the process module as discussed in Correct Errors in Process Modules, later in this chapter.

Different messages are displayed depending on the nature of the error.

Read the message to determine the problem. Verify that you have correctly typed the process module name on the Process Modules screen. You can type over errors on the screen, and then press [Enter] again.

After you successfully recompile dialog XXXDADD, you can exit from ADSC by pressing [PF3].

Note: When a dialog is added or checked out, a queue is established. The queue is deleted only when:

A dialog with changes that is released can be retrieved by another developer, but the queue remains.