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:
- In the IMS Explorer perspective,
open an IMS Explorer project.
- Create a PSB or import a PSB that defines
the application view.
- Optional: Import the database descriptions
(DBDs) that are associated with the PSB. You can also edit the database
field definitions to support application requirements.
- Optional: Edit the PSB and PCB statements that
are associated with the PSB, to support application requirements.
- 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.
- In the PSB summary page, edit the PSB and PCB statements.
- To save changes to the PSB and PCB changes,
click 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.