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:
Since each PSB requires a separate IPSB, the information in one PSBGEN statement is used to complete each RECORD SECTION.
The DBDs required are those specified in the PCBs. You should have available all of the DBDs specified in each PCB within the PSB.
If a PCB calls for a logical database or an index database, you also need the DBDs for the associated physical databases or indexed databases, respectively.
When a PCB calls for a HIDAM database or a database with a secondary index(es), you should have available the DBD for the associated index database.
Syntax
►►─── RECORD SECTION. ────────────────────────────────────────────────────────► ►─── RECORD statements. ─────────────────────────────────────────────────────► ►─── FIELD statements. ──────────────────────────────────────────────────────►◄
Parameters
RECORD SECTION must be the first entry in the section followed by RECORD and FIELD 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:
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.
|
Copyright © 2013 CA.
All rights reserved.
|
|