Previous Topic: Optionally Loading the Modified MapNext Topic: Summary


Invoking and Executing the Application

To invoke the Department application from DC/UCF, you enter the task code (XXXDEPT) for the application. For example, when using CA IDMS/DC, you invoke the Department application as shown:

ENTER NEXT TASK CODE:
xxxdept

                                                                [Enter]

For more information on invoking the Department application, see Instructions For Executing the Application.

To test modifications you made to map XXXMAP, you need to execute either dialog XXXDADD or XXXDUPD. According to your application design, each of the following responses selects a function that executes either dialog XXXDADD or XXXDUPD:

Testing Error Messages

To quickly test out error messages that you defined for map XXXMAP, you can invoke function ADDDEP. The modified map, XXXMAP, is displayed for the function ADDDEP.

Try entering invalid department and department head ID numbers as shown:

 FUNCTION: ADDDEP  DATE....: 10/29/99                             DEPARTMENT INFORMATION  DEPARTMENT ID .......: aaaa             NAME .....: bbbbbbbbb             HEAD ID ..: cccc  NEXT RESPONSE:

When you press [Enter], your error messages are displayed in the map's message field. For example:

* ENTER A NUMERIC DEPT ID * * DEPT HEAD IDS ARE NUMERIC *

Verify the Modified Map

You can verify that functions MODDEP and DELDEP also display modified map XXXMAP by displaying these functions. Try transferring from ADDDEP to MODDEP:

 FUNCTION: ADDDEP  DATE....: 10/29/99                             DEPARTMENT INFORMATION  DEPARTMENT ID .......: 0000             NAME .....:             HEAD ID ..: 0000  NEXT RESPONSE: mod

The MODDEP function is displayed. MODDEP also displays modified map, XXXMAP.

 FUNCTION: MODDEP  DATE....: 10/29/99                             DEPARTMENT INFORMATION  DEPARTMENT ID .......: 0000             NAME .....:             HEAD ID ..: 0000  NEXT RESPONSE: mod

You also can transfer to function DELDEP if you want.

Exit from the Application

To exit from the Department application, you can use the EXIT response anywhere in the application.