Previous Topic: SummaryNext Topic: Development Tools in the CA ADS Environment


Sample Application Components

Components in the Sample Application

This appendix provides information for all components created for and used by the sample Department application. Components are presented in the order in which you first define them or use them in this manual. Names of components in this table that begin with XXX can be changed when you define the components. For example, you can use your initials instead of XXX.

Component type

Sample name

Characteristics

Application structure

XXXAPPL

Defined in Steps 2 through 8 of Chapter 7. Modified in Steps 2 through 4 of Chapter 10. Contains:

  • BACK response
  • EXIT response
  • ADD response
  • MOD response
  • DEL response
  • ADDDEP function
  • MODDEP function
  • DELDEP function
  • DEPTMENU function
  • XXXDEPT task code

Application responses

BACK

Defined in Steps 4 and 5 of Chapter 7:

  • Assigned key: CLEAR
  • Function invoked: POP
  • Response type: GLOBAL

Application responses

EXIT

Defined in Steps 4 and 5 of Chapter 7:

  • Assigned key: [PF9]
  • Function invoked: QUIT
  • Response type: GLOBAL

Modified in Steps 2 and 3 of Chapter 10:

  • Assigned key: [PF3]

Application responses

ADD

Defined in Steps 4 and 5 of Chapter 7:

  • Assigned key: [PF4]
  • Function invoked: ADDDEP
  • Response type: LOCAL

Application responses

MOD

Defined in Steps 4 and 5 of Chapter 7:

  • Assigned key: [PF5]
  • Function invoked: MODDEP
  • Response type: LOCAL

Application responses

DEL

Defined in Steps 4 and 5 of Chapter 7:

  • Assigned key: [PF6]
  • Function invoked: DELDEP
  • Response type: LOCAL

Application functions

ADDDEP

Defined in Steps 4 and 6 of Chapter 7:

  • Dialog name: XXXDADD
  • Function type: 1 (dialog)
  • Valid responses: BACK

EXIT

Modified in Steps 2 and 4 of Chapter 10:

  • Valid responses: MOD

BACK

EXIT

Application functions

MODDEP

Defined in Steps 4 and 6 of Chapter 7:

  • Dialog name: XXXDUPD
  • Function type: 1 (dialog)
  • Valid responses: BACK

EXIT

Application functions

DELDEP

Defined in Steps 4 and 6 of Chapter 7:

Dialog name: XXXDUPD

Function type: 1 (dialog)

Valid responses: BACK

EXIT

Application functions

DEPTMENU

Defined in Steps 4 and 6 of Chapter 7:

  • Function type.....: 3 (menu)
  • Valid responses...: ADD

MOD

DEL

EXIT

Task code

XXXDEPT

Defined in Step 7 of Chapter 7:

  • Assoc. function...: DEPTMENU

Database record

DEPARTMENT

Added to map XXXMAP in Step 3 of Chapter 8; describes department information to be stored in the database.

Map

XXXMAP

Defined in Steps 1 through 9 of Chapter 8.

Associated records:

  • DEPARTMENT
  • ADSO-APPLICATION-GLOBAL-RECORD

Modified in Chapter 11.

Subschema

EMPSS01

Added to dialog XXXDADD in Step 1 in Chapter 12.

Added to dialog XXXDUPD in "Completing dialog XXXDUPD using ADSC" in Chapter 15; contains the DEPARTMENT database record and makes it available to dialogs using navigational DML statements.

Dialogs

XXXDADD

Defined in Steps 2 and 3 of Chapter 9:

  • Associated map....: XXXMAP

Updated due to modifications in map XXXMAP in Steps 1 through 3 in Chapter 11.

Enhanced in "Adding process modules to dialogs using ADSC" in Chapter 12:

  • Subschema.........: EMPSS01
  • Premap process....:
  • XXXDADD-PREMAP
  • Response process..:
  • XXXDADD-RESPONSE

Modified in "Updating modified process modules in dialogs using ADSC" in Chapter 13.

Dialogs

XXXDUPD

Defined in Step 5 of Chapter 9:

  • Associated map....: XXXMAP

Updated due to modifications in map XXXMAP in "Updating modified maps in dialogs using ADSC" in Chapter 11.

Enhanced in "Completing dialog XXXDUPD using ADSC" in Chapter 15:

  • Subschema.........: EMPSS01
  • Premap process....:
  • XXXDUPD-PREMAP
  • Response processes:
  • XXXDUPD-ENTER
  • XXXDUPD-PA2

Process module

XXXDADD-PREMAP

Defined in "Defining process modules using IDD" in Chapter 12:

  • Purpose..: Premap process for

dialog XXXDADD

Process module

XXXDADD-RESPONSE

Defined in "Defining process modules using IDD" in Chapter 12:

  • Purpose..: Response process

for dialog XXXDADD

Modified in "Modifying process modules using IDD" in Chapter 13.

Element

XXX-WK-FIRST-TIME

Defined in Step 2 of Chapter 14.

  • Purpose..: Stores a single-

character status value (Y or N)

for process modules in dialog

XXXDUPD

  • Usage ...: DISPLAY
  • Picture..: X

Added to work record XXX-WK-RECORD in Step 3 of Chapter 14.

Work record

XXX-WK-RECORD

Defined in Step 3 of Chapter 14:

  • Purpose..: Work record for

process modules

in dialog XXXDUPD

  • Element..: XXX-WK-FIRST-TIME

Process modules

XXXDUPD-PREMAP

Defined in "Defining process modules using IDD" in Chapter 15:

  • Purpose..: Premap process

for dialog XXXDUPD

Process modules

XXXDUPD-ENTER

Defined in "Defining process modules using IDD" in Chapter 15:

  • Purpose..: Response process

for dialog XXXDUPD

Process modules

XXXDUPD-PA2

Defined in "Defining process modules using IDD" in Chapter 15:

  • Purpose..: Response process

for dialog XXXDUPD