Previous Topic: Step 1: Describe the Records in the Data DictionaryNext Topic: Step 3: Define the Process Modules


Step 2: 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.

File Maps

Name

Description

HDRMAP

Associates record REPT-HEADER with variable storage

DTLMAP

Associates record EMPL-DETAIL with variable storage

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

HDRMAP

Internal records:       None
External file:          IDD-REPFILE1
External record:        REPT-HEADER

External field                  Internal field

CTRL-CHAR.......................CTRL-CHAR
LEFT............................LEFT
CENTER..........................CENTER
RIGHT...........................RIGHT

DTLMAP

Internal records:       None
External file:          IDD-REPFILE1
External record:        EMPL-DETAIL

External field                  Internal field

DTL-CTRL-CHAR...................DTL-CTRL-CHAR
DTL-EMPL........................DTL-EMPL
DTL-NAME........................DTL-NAME
DTL-STATUS......................DTL-STATUS
DTL-SS-NBR......................DTL-SS-NBR
DTL-SS-TITLE....................DTL-SS-TITLE
DTL-START.......................DTL-START
DTL-TERM........................DTL-TERM