To load and build IMS into a database view

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. Copy your PSB sources to the PSBSRC directory of your project.
  2. Copy the DBD sources referenced in your PSB source to the DBDSRC directory of your project.
  3. Ensure that any IMS DDI source files you want to include in the database view are in the DDISRC directory of your project.
  4. In the Database View Explorer of the AppMaster Builder perspective, right-click to select the desired database view and choose Edit Database View. The Load Source for Database View dialog box appears with the Sources tab selected.
  5. Select the PSB Source radio button.
  6. From the list of sources, select the file that contains your PSB code and click Load. A message box indicates if the source has been loaded in to the database file. Click OK to clear the message box.
    Tip: AppMaster Builder automatically loads your PSB source, all of the DBD source referenced in your PSB source, and each DDI source member that has a filename that matches a DBD name referenced in your PSB.

    If you have also set your options and properties to automatically load IMS source into a COBOL project, your IMS source compiles into the specified COBOL project at this time.

  7. Click Save/Build. A message box appears when the database view has finished building.
  8. Click OK to return to the AppMaster Builder Desktop. Review the information in the Console to ensure that your IMS has loaded successfully.
Note:
  • If a database view with the same name as your PSB source member already exists, your IMS is built into that existing database view. Otherwise, AppMaster Builder creates a new database view with the same name as your PSB source member.
  • You can also load VSAM source into this database view if the SUB name specified in the VSAM matches the name of the PSB source file.
  • You can load a SQL schema into this same database view if the name of the subschema matches the name of the PSB source file.
  • You can load any SQL DDL source file into this database view if the source file does not contain a CREATE SUBSCHEMA statement.
  • For more information on coding DDI statements for IMS, see the DDI Statements - IMS DB.