Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
- Copy your PSB sources to the
PSBSRC directory of your project.
- Copy the DBD sources referenced in your PSB source to the
DBDSRC directory of your project.
- Ensure that any IMS DDI source files you want to include in the database view are in the
DDISRC directory of your project.
- 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.
- Select the
PSB Source radio button.
- 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.
- Click
Save/Build. A message box appears when the database view has finished building.
- 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.