Table of Contents

Search

  1. Preface
  2. PowerExchange Navigator Introduction
  3. Data Maps
  4. Data Maps for Specific Data Sources
  5. Copybooks
  6. Registration Groups and Capture Registrations
  7. Extraction Groups and Extraction Maps
  8. Personal Metadata
  9. Database Row Test
  10. PowerExchange Navigator Examples
  11. Appendix A: PowerExchange Functions for User-Defined Fields
  12. Appendix B: User Access Method Programs
  13. Appendix C: Application Groups and Applications
  14. Appendix D: Data Map Properties
  15. Appendix E: Record, Field, and Table Properties
  16. Appendix F: DTL__CAPXTIMESTAMP Time Stamps
  17. Appendix G: Trace for Creating a Memory Map When Importing a COBOL Copybook

Navigator User Guide

Navigator User Guide

Defining Array Properties in the Field Properties Dialog Box

Defining Array Properties in the Field Properties Dialog Box

To define a field in a record as an array, define options on the
Array
tab in the
Field Properties
dialog box.
The following table describes the options that you can use to define arrays:
Option
Description
Array
Defines the field as an array.
Fixed
Defines the field as a fixed array.
Variable
Defines the field as a variable array.
Array Size
The number of elements in the array.
Valid values are from 1 to 32768.
For a record definition imported through a COBOL copybook, this value corresponds to the x value specified in the OCCURS x clause that defines the array.
Count Field
For a variable array, the name of the field that determines the actual number of elements in this instance of the array field.
For a record definition imported through a COBOL copybook, this value corresponds to the
field-y
value specified in the
OCCURS x DEPENDING ON field-y
clause that defines the array.
For example, suppose you import the following OCCURS clause in a COBOL copybook into a data map:
ITEM OCCURS 3 DEPENDING ON ITEMCT PIC X(15).
The following table lists the options and values that the
Array
tab in the
Field Properties
dialog box shows for this example:
Option
Value
Array
This option is selected.
Fixed
This option is cleared.
Variable
This option is selected.
Array Size
3
Count Field
ITEMCT

0 COMMENTS

We’d like to hear from you!