Previous Topic: AREA SECTIONNext Topic: RECORD Statement


RECORD SECTION

The RECORD SECTION names the CA IDMS/DB records to be used either explicitly or implicitly to satisfy DL/I calls, and defines the DL/I fields to be referenced in SSA parameter lists used in DL/I database requests.

The RECORD SECTION consists of RECORD statements and FIELD statements.

The RECORD SECTION draws upon information in the:

Syntax

►►─── RECORD SECTION. ────────────────────────────────────────────────────────►

 ►─── RECORD statements. ─────────────────────────────────────────────────────►

 ►─── FIELD statements. ──────────────────────────────────────────────────────►◄

Parameters

RECORD SECTION.

RECORD SECTION must be the first entry in the section followed by RECORD and FIELD statements.

RECORD statements

Following the RECORD SECTION is one RECORD statement for each DL/I segment specified in every PCB in the application program's PSB. The RECORD statement defines the CA IDMS/DB record that corresponds to the DL/I segment.

In addition to these explicit correspondences, you must make sure that there are RECORD statements for those records whose corresponding segments are not specified in the PCBs but must be accessed by DL/I to process DL/I calls. These implicit correspondences are required for the following types of segments:

FIELD statements

There can be from 0 to 255 FIELD statements following each RECORD statement. The sources for these FIELD statements consist of the appropriate FIELD statements within the relevant DBDs.

The RECORD and FIELD statements are discussed in detail below.