Previous Topic: Step 2: Describe the Records in the Data DictionaryNext Topic: Step 4: Define the Process Modules


Step 3: Define the File Maps

You define a file map for each file record layout used in the application. The file maps in this application are described below.

Map

Description

MAP1

Associates record INPUT-RECORD1 with variable storage

MAP2

Associates record ARCHIVE-RECORD-EMP with variable storage

MAP3

Associates record ARCHIVE-RECORD-COV with variable storage

MAP4

Associates record REPORT-RECORD with variable storage

You define maps by using the CA IDMS/DC mapping facility. The file map definitions are illustrated below.

MAP1

Internal records:       None
External file:          INFILE1
External record:        INPUT-RECORD1

External field                  Internal field

INPUT-ID........................INPUT-ID

MAP2

Internal records:       DEPARTMENT
                        OFFICE

External file:          ARCFILE
External record:        ARCHIVE-RECORD-EMP

External field                  Internal field

ARCHIVE-TYPE....................$RESPONSE
ARCHIVE-DEPT-ID.................DEPT-ID-0410
ARCHIVE-OFFICE-CODE.............OFFICE-CODE-0450
ARCHIVE-EMPLOYEE-RECORD.........ARCHIVE-EMPLOYEE-RECORD

MAP3

Internal records:       None
External file:          ARCFILE
External record:        ARCHIVE-RECORD-COV

External field                  Internal field

ARCHIVE-TYPE....................$RESPONSE
ARCHIVE-COVERAGE-RECORD.........ARCHIVE-COVERAGE-RECORD

MAP4

Internal records:       None
External file:          REPFILE1
External record:        REPORT-RECORD

External field                  Internal field

REPORT-CC.......................REPORT-CC
REPORT-LINE.....................REPORT-LINE