The Global Records screen is used to specify records that are available to all functions in an application at runtime.
The Global Records screen is accessed from the Main Menu by choosing option 3 at the Screen prompt.
The application developer can scroll between pages of the Global Records screen by using the control keys associated with paging forward and paging backward. Refer to the table earlier in this section for a listing of the default control key assignments for the application compiler.
Global records must be defined in the data dictionary before the application is compiled. The records can be work records or map records. If a subschema record is specified, the application compiler uses the IDD description of the record. Individual subschema views are not used.
Once specified, global records are available to all dialogs, maps, and user programs defined for the application.
There is no limit to the number of records which can be specified.
Record buffers for global records are maintained across application functions, regardless of the means of transfer of control. Thus, values in the records are preserved for the duration of the application execution.
A global record used by a dialog must be associated with the dialog. The record can be defined as a work record on the dialog compiler Records and Tables screen or it can be associated with the dialog map or subschema.
Note: For more information about associating records with maps, see the CA IDMS Mapping Facility Guide.
Application global records are optional. Note, however, that ADSO-APPLICATION-GLOBAL-RECORD is automatically included in the list of global records. The application developer can delete this record, but should be aware that deleting ADSO- APPLICATION-GLOBAL-RECORD disables many of the runtime capabilities provided by CA ADS.
Sample Screen
Global Records Page 1 of 1 Application name: TESTAPP1 Version: 1 Record name Version Drop record (/) 1. ADSO-APPLICATION-GLOBAL-RECORD 1 _ 2. ________________________________ ____ _ 3. ________________________________ ____ _ 4. ________________________________ ____ _ 5. ________________________________ ____ _ 6. ________________________________ ____ _ 7. ________________________________ ____ _ 8. ________________________________ ____ _ Enter F1=Help F3=Exit F4=Prev F5=Next F7=Bkwd F8=Fwd
Field Descriptions
Specifies the name of the current application, as specified on the Main Menu screen. This field is protected.
Specifies the version number, in the range 1 through 9999, of the current application.
Specifies the 1- to 32-character name of each global record for the application. The named record must be defined in the data dictionary before the application is compiled.
The application developer can delete records already specified by overwriting the record name with blanks or by using the ERASE EOF key.
Specifies the version number, in the range 1 through 9999, of the current application. If no version number is specified, version defaults to 1.
Removes the record from its association with the application, but does not delete the record definition from the dictionary.
|
Copyright © 2014 CA.
All rights reserved.
|
|