The IMBSBRDG program converts retrieved CA IDMS/DB records to DBOMP records, reconstructs CA IDMS/DB records from updated DBOMP records, and returns the updated records to the database.
Converting Records
To convert records retrieved from the CA IDMS/DB database, IMBSBRDG performs the following tasks:
Pointer displacement information is used in determining the size of each data segment moved:
Reconstructing and Returning Records
To reconstruct updated DBOMP records and return them to the CA IDMS/DB database, CA IDMS DML performs the following tasks:
Pointer displacement information is used in determining the size of each data segment:
The following two figures illustrate how IMBSBRDG moves data between the CA IDMS logical record buffer and the work area of the DBOMP file.
Transfer from IDMS to DBOMP
The following figure shows the transfer of data from the CA IDMS/DB logical record buffer to the work area of the DBOMP file. Note that when the transfer of data takes place, the pointers already have been moved from the CA IDMS/DB dummy record to the DBOMP file work area.

Transfer from DBOMP to IDMS
This figure shows the transfer of data from the work area of the DBOMP file to the CA IDMS/DB logical record buffer. Note that pointers are not returned with record data to the CA IDMS/DB logical record buffer.

Values Returned to the Calling Program
IMBSBRDG returns values to the calling program, as shown in the following table.
|
Values returned to: |
Description of values returned |
|---|---|
|
Work area prefix |
|
|
Work area of the DBOMP file |
A DBOMP logical record; after successful execution of a retrieval request |
|
Currency field in IMBSEQ tables |
Current address of a record retrieved by a successful execution of the ST$DA or ST$KY macro |
|
Copyright © 2013 CA.
All rights reserved.
|
|