ADSA is an application design and prototyping tool used to define the structure of an application. The first screen in an ADSA session is the Main Menu screen.
ADSA Main Menu Screen
┌─ Add Modify Compile Delete Display Switch │ .______________________________________________________________________. └─ CA ADS Application Compiler CA, Inc. ┌─ │ Application name . . . . ________ │ Application version . . ____ │ Dictionary name . . . . ________ │ Dictionary node . . . . ________ └─ ┌─ Screen . . . . . . . . . _ 1. General options │ 2. Responses and Functions │ 3. Global records │ 4. Task codes └─ Copyright (C) 2003 CA, Inc. Command ===> Enter F1=Help F3=Exit F10=Action
Enter information about the dialog after prompts in the Specification area. To get from one ADSA screen to another, you can either select the activity from the Screen Specification area on the Main Menu or, from other screens, press [PF5] to proceed through the definition.
Select an action by tabbing to the action bar or selecting with the command line.
The following table describes how to use ADSA to perform the following procedures:
For more information on these and other ADSA procedures, refer to CA ADS Reference Guide.
Instructions in the table assume that you have already invoked ADSA, as discussed earlier in this appendix.
|
Operation |
Procedure |
|---|---|
|
Adding an application Procedure to add a new application structure (including responses, functions, and task codes). To define dialogs, maps, and process modules, see descriptions of ADSC, MAPC, and IDD later in this appendix. |
Enter basic information about the application on a Main Menu screen:
Select the Add activity from the action bar to register the application in the dictionary and check it out (reserve it) to the programmer. Add required components on appropriate ADSA screens:
Optionally make additional specifications on other ADSA screens. For more information on available ADSA screens, see the CA ADS Reference Guide. Create a load module for the application by selecting the Compile activity from the action bar on the Main Menu. For an example of using ADSA to add an application, see Chapter 8, "Defining an Application Structure Using ADSA". |
|
Modifying an application Procedure to modify an existing application structure (including responses, functions, and task codes). This procedure cannot be used to modify an application name1. To modify dialogs, maps, and process modules, see descriptions of ADSC, MAPC, and IDD later in this appendix. |
Display the application definition (if not already displayed) by entering the following information on the application Main Menu screen:
If the application has been released (after having been added), check the application out through the Check out option under the Modify activity on the action bar. Modify application specifications, as necessary, on appropriate ADSA screens:
Recompile the application load module by selecting the Compile activity from the action bar on the Main Menu. For an example of using ADSA to modify an application, see chapter 10.Modifying the Application Structure Using ADSA. |
|
Deleting an application Procedure to delete an application structure (including responses, functions, and task codes). To delete dialogs, maps, and process modules, see descriptions of ADSC, MAPC, and IDD later in this appendix. |
Enter the following information on the application Main Menuscreen:
Choose the Delete application option from the Delete activity on the action bar on the Main Menu. After you press [Enter], ADSA displays a confirmation window so that the request to delete the application can be confirmed or rescinded. Confirm or reject the deletion. For an example of using ADSA, see Chapter 8, "Defining an Application Structure Using ADSA". |
|
Adding response and function relationships Procedure to add an application response and function relationships to an application. Do not confuse application responses with dialog response processes2. |
Display the Response/Function List screen by entering a 2 opposite the Screen prompt on the Main Menu. Enter the following information on the Response/Function List screen:
For an example of using ADSA to add responses and functions, see Steps 4 through 6 in Chapter 8, "Defining an Application Structure Using ADSA" of this manual. |
|
Enhancing the response definition Procedure to further define an application response to an application. Do not confuse application responses with dialog response processes. |
Select responses for further definition by entering a nonblank character next to the responses on the Response/Function List screen Display the Response Definition screen by pressing [PF5] from the Response/Function List screen Enter the following information on the Response Definition screen:
For an example of using ADSA to further define responses, see Steps 4 and 5 in Chapter 8, "Defining an Application Structure Using ADSA" of this manual. |
|
Modifying a response Procedure to modify an application response. This procedure cannot be used to modify a response name4. Do not confuse application responses with dialog response processes5. |
Display the responses and functions on the Response/Function List screen. Make any changes required. Optionally select the response to be modified by placing a nonblank character next to the response and pressing [PF5] to access the Response Definition screen. Modify any specifications on the Response Definition screen, including:
For an example of using ADSA to modify a response, see Steps 2 and 3 in Chapter 11, "Modifying the Application Structure Using ADSA". |
|
Deleting a response Procedure to delete an application response from an application. Do not confuse application responses with dialog response processes6. |
Display the responses and functions on the Response/Function List screen. Select the response to be deleted by placing a nonblank character next to the response and pressing [PF5] to access the Response Definition screen. Display the response definition (if not already displayed) on the Response Definition screen as described above in "Modifying a response" earlier in this table. Place a nonblank character next to the Drop prompt For an example of using the Response Definition screen, see "Step 5: Further define application responses" in Chapter 8, "Defining an Application Structure Using ADSA". |
|
Enhancing the dialog function definition Procedure to further define a dialog functions to an application7. |
Display the responses and functions on the Response/Function List screen. Select the function to be defined by placing a nonblank character next to the function and pressing [PF5]. Display the Function Definition (Dialog) screen by pressing [PF5] from the Response/Function List screen. Enter the following information on the Function Definition screen:
For an example of using ADSA to further define functions see "Step 6: Further define application functions in Chapter 8, "Defining an Application Structure Using ADSA" of this manual. |
|
Enhancing the menu function definition Procedure to further define a menu function to an application.7 |
Display the responses and functions on the Response/Function List screen. Select the menu function to be defined by placing a nonblank character next to the function and pressing [PF5]. Display the Function Definition (Menu) screen by pressing [PF5] from the Response/Function List screen. Enter the following information on the Function Definition screen:
Identify the valid responses for this function.
Customize the menu display for a menu function9:
For an example of using ADSA to further define functions see "Step 6: Further define application functions in Chapter 8, "Defining an Application Structure Using ADSA" of this manual. |
|
Modifying a function Procedure to modify an application function. This procedure cannot be used to modify a function name10. |
Display the responses and functions on the Response/Function List screen. Make any changes required. Optionally select the function to be further modified by placing a nonblank character next to the function and pressing [PF5] to access the Function Definition screen. Modify any specifications on the Function Definition screen, including:
For an example of using ADSA to modify a function, see "Step 4: Modify the ADDDEP function" in Chapter 11, "Modifying the Application Structure Using ADSA". |
|
Deleting a function Procedure to delete a function and all responses that invoke that function. |
Display the function definition (if not already displayed) on the Function Definition screen as described above in "Modifying a function" earlier in this table. Place a nonblank character next to the Drop prompt For an example of using the Function Definition screen, see "Step 6: Further define application functions" in Chapter 8, "Defining an Application Structure Using ADSA". |
|
Adding a task code Procedure to add an entry point to the application. |
Display the Task Codes screen by selecting 5 from the Main Menu. Add the task code:
For an example of using ADSA to define a task code, see "Step 7: Define a task code" in Chapter 8, "Defining an Application Structure Using ADSA". |
|
Modifying a task code Procedure to modify the name or entry-point function for an application. |
Display the Task Codes screen by selecting 5 from the Main Menu. Erase the task code from the screen by pressing the ERASE EOF key or typing spaces over the task code. For an example of using the Task Codes screen, see "Step 7: Define a task code" in Chapter 8, "Defining an Application Structure Using ADSA". |
Notes:
1 To modify an application name:
2 To add a response process to a dialog, see "Using ADSC" later in this appendix.
3 Note that ADSA automatically adds a skeleton function with the specified name if the function does not already exist.
4 To modify a response name:
5 To modify a dialog response process, which is a module of process-language code, see "Using ADSC" later in this appendix.
6 To delete a response process from a dialog, see "Using ADSC" later in this appendix.
7 For system functions (such as QUIT), you do not need to follow this procedure; system functions are added to the application automatically when you define responses to invoke the system functions.
8 In addition to the listed function types, you also specify the function type for either a user program or menu/dialog function.
For more information on these function types, refer to CA ADS Reference Guide.
9 Valid also for menu/dialog functions.
For more information, refer to CA ADS Reference Guide.
10 To modify a function name:
|
Copyright © 2013 CA.
All rights reserved.
|
|