Previous Topic: Step 3:  Define Process Module XXXDADD-RESPONSENext Topic: Adding Process Modules to Dialogs Using ADSC


Step 4: Exit from IDD

When you are using the IDD menu facility under the transfer control facility (TCF), you can exit from IDD by using the SWITCH command.

You can use SWITCH to either transfer to another development tool or return to DC/UCF. In the this sample session, you will transfer to ADSC so that you can associate process modules XXXDADD-PREMAP and XXXDADD-RESPONSE with dialog XXXDADD.

To transfer to ADSC, enter the task code for ADSC (for example, ADSCT) along with the SWITCH command in the command area of any IDD menu facility screen:

      IDD REL 15.0           *** PROCESS SOURCE ***                        SRCE  -> adsct                                           PAGE 1 LINE 1             1/14                   PROCESS 'XXXDADD-RESPONSE' VERSION 1 MODIFIED  ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---- READY USAGE-MODE UPDATE. IF AGR-CURRENT-RESPONSE NE SPACES AND FIELD DEPT-ID-0410 NOT CHANGED THEN EXECUTE NEXT FUNCTION. OBTAIN CALC DEPARTMENT. IF DB-REC-NOT-FOUND THEN DO. STORE DEPARTMENT.     DISPLAY MSG TEXT 'DEPARTMENT ADDED'. END. DISPLAY MSG TEXT 'TRY AGAIN, OR SELECT: MOD, BACK, OR EXIT'.