Previous Topic: Map-Paging SessionsNext Topic: Dialog and Program Operations


Sequence of Events in a Map-paging Session

  1. The map-paging session is initiated according to specifications or commands in the CA ADS dialog or application program that uses the pageable map.

    More information

  2. Detail occurrences are created by statements in the dialog or program. Occurrences are stored sequentially in the order that they are created and are divided into pages based on the number of detail occurrences that can fit on the terminal screen at one time. A detail occurrence is displayed on the terminal screen only when the map page to which the occurrence belongs is displayed.
  3. A map page is displayed by the CA ADS runtime system or the DC runtime system as a result of one of the following:

    The CA ADS runtime system (which executes CA ADS dialogs) and the DC runtime system (that executes application programs) are both referenced by the term program runtime system in the remainder of this section. The term runtime mapping system refers to a separate part of the runtime system that handles only mapping functions at runtime.

    Note: For more information about display commands for pageable maps, see Building and Displaying Fields.

  4. The terminal operator optionally modifies map data fields in the header or footer areas or in any of the detail occurrences of the current map page. Map-field modifications are subject to restrictions specified at map-definition or map runtime:

    Note:

  5. The terminal operator optionally makes a paging request to specify the next map page to be displayed in either of the following ways:
  6. The terminal operator presses a control key, initiating the following:
  7. Modified detail occurrences are retrieved by commands in the dialog or program. Data is updated to program variable storage according to specifications made for each field.

    Note: For information about retrieval commands for pageable maps, see Retrieving Modified Data.

  8. Detail occurrences are modified by either the program runtime system or the mapping runtime system, as specified by the paging-type for the map-paging session.

    Note: For information about paging-type options, see "Building and Displaying Fields".

  9. Additional detail occurrences are created at any time by commands in the dialog or program. New detail occurrences are stored at the end of the set of detail occurrences in the session scratch record.

    Note: For information about commands that create new detail occurrences, see Building and Displaying Fields.

  10. A page of the map is displayed by either the program runtime system or the mapping runtime system, as specified by the paging-type for the map-paging session.
  11. The map-paging session is terminated according to specifications or commands in the CA ADS dialog or application program that uses the pageable map.