Creating or editing IMS program definitions (PSBs and PCBs)

To develop IMS applications, you must define the application view of the IMS database. The application view is specified through IMS program definitions: a program specification block (PSB) and its related program control blocks (PCBs).

To create or edit IMS program definitions:

  1. In the IMS Explorer perspective, open an IMS Explorer project.
  2. Create a PSB or import a PSB that defines the application view.
  3. Optional: Import the database descriptions (DBDs) that are associated with the PSB. You can also edit the database field definitions to support application requirements.
  4. Optional: Edit the PSB and PCB statements that are associated with the PSB, to support application requirements.
    1. From the Project Explorer, open the PSB summary page by double-clicking the program definition model.
      Tip: The program definition model has a .psb file extension.
    2. In the PSB summary page, edit the PSB and PCB statements.
    3. To save changes to the PSB and PCB changes, click File > Save or press Ctrl + S in the IMS PCB editor tab.
      If there are unsaved changes, an asterisk (*) is displayed in the PSB tab
When you save changes in the PSB summary page or the IMS PCB editor, IMS Explorer generates a Java™ metadata (DLIDatabaseView) class for the PSB and a PSB source file.

The generated Java metadata class is located in the Project Explorer, under a package named after the PSB name. You can use the Java metadata class to connect to an IMS database from the Data Source Explorer in IMS Explorer, or to develop Java applications for IMS.