Previous Topic: Sample OutputNext Topic: RESTORE


DBKEYS File Layout

This section describes the contents of the record written to a DBKEYS cross reference file. The layout matches the DBKEYS file generated by CA IDMS/DB Reorg.

Field Name

Element Description

Explanation

OLDDBKEY

PIC S9(8) COMP

Old db-key

NEWDBKEY

PIC S9(8) COMP

New db-key

SR3DBKEY

PIC S9(8) COMP

SR3 db-key if the old record was relocated

RECORDID

PIC S9(4) COMP

Record ID in the source subschema

SR3RECID

PIC S9(4) COMP

Original record ID if relocated

The logical record length is 16 bytes. The BLKSIZE is determined by what is coded in the JCL or matching CREATE DSMODEL statement.

Each task that loads data generates a DBKEYS file for the data it loads. Depending on their intended use, these files may need to be merged together and sequenced before being used by another application.