Previous Topic: OverviewNext Topic: IMBSMJ01 Sample JCL for z/OS


IMBSBILL Sample Application

IMBSBILL Functions

IMBSBILL serves two purposes:

Record Types Referenced by IMBSBILL

IMBSBILL references these CA IDMS/DB record types:

IMBSBILL retrieves, modifies, adds, and deletes occurrences of each of these record types. It demonstrates single-level, indented, and summarized explosion and implosion, and performs a serial retrieval of occurrences of the ITEM-MASTER record type. IMBSBILL also contains the CA IDMS/DB logic necessary to implement RACN, low-level coding, and chain counts.

Database Accessed by IMBSBILL

The design for the sample database accessed by IMBSBILL is shown in the following figure.

IMBSBILL Flow of Logic

The general flow of logic in IMBSBILL is as follows:

  1. BIND the run unit and all record types
  2. Read a transaction
  3. Branch to the routine indicated by the transaction code
  4. Access the CA IDMS/DB database using the appropriate DML commands
  5. Display the results of the transaction on the printer
  6. Repeat the above steps until all transactions have been processed

IMBSBILL Code

The following is the code for IMBSBILL.