Previous Topic Next topic Print topic


To load and build IMS into a data 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 data view are in the DDISRC directory of your project.
  4. In the Data View Explorer of the AppMaster Builder perspective, right-click to select the desired data view and choose Edit Data View. The Load Source for Data 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 data 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 data view with the same name as your PSB source member already exists, your IMS is built into that existing data view. Otherwise, AppMaster Builder creates a new data view with the same name as your PSB source member.
  • You can also load VSAM source into this data 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 data 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 data 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.
Previous Topic Next topic Print topic