Each function in an application represents a unit of work. For example, the DEPTMENU function lists available responses and allows the user to select a response. In this step, you will further define the following Department application functions:
Note: You do not have to define the POP or QUIT functions. POP and QUIT are system functions that have reserved names and meanings. ADSA automatically will add complete definitions for these functions when you associate them with the BACK and EXIT responses.
Function Definition screens
You define menu and dialog functions in the Department application by using one of several Function Definition screens:
For further information on program functions, see CA ADS Reference Guide.
Some of these screens are made up of multiple pages accessed through [PF7] and [PF8]. The appropriate screen will be displayed based on the initial function definition you gave on the Response/Function List screen.
Screen prompts
Certain information will be presented to you when this screen is displayed:
Note: The dialogs that you name in this chapter are not yet defined; you will define dialogs for the Department application in Chapter 10, "Defining Dialogs Using ADSC".
Use the Function Definition screen to define basic information about a function, such as:
For example, as shown earlier in this chapter, ADD, MOD, DEL, and EXIT are valid from the DEPTMENU function. EXIT is a global response, so it is automatically available from DEPTMENU. You will use the Function Definition screen to make ADD, MOD, and DEL also available from DEPTMENU.
For more information on these and other ADSA screens, see CA ADS Reference Guide.
The Department application
The following table summarizes the specifications you will make for the functions in the Department application. You define one application function at a time, transferring between ADSA screens as necessary. Instructions for defining the DEPTMENU menu function and for defining the ADDDEP, MODDEP, and DELDEP dialog functions are presented below.
|
Function name |
Description |
Associated dialog |
Function type |
Valid responses |
|---|---|---|---|---|
|
ADDDEP |
Add department |
XXXDADD |
1 (Dialog) |
BACK EXIT |
|
MODDEP |
Mod department |
XXXDUPD |
1 (Dialog) |
BACK EXIT |
|
DELDEP |
Del department |
XXXDUPD |
1 (Dialog) |
BACK EXIT |
|
DEPTMENU |
Department menu |
Not applicable |
3 (Menu) |
ADD MOD DEL EXIT |
Dialog and menu functions are discussed separately below. Remember, however, that these screens will be displayed in the order in which you selected the functions on the Response/Function List screen. Pressing [PF5] will move you from a response definition to a function definition and then on to the next response definition.
|
Copyright © 2013 CA.
All rights reserved.
|
|