Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
- Save all VSAM source files you create to the
DDISRC directory of your project/view.
- 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
VSAM Source radio button.
- From the list of sources, select the file you want to load and build into this database view and click
Load. A message box indicates when the source has been loaded in to the database file. Click
OK to clear the message box.
- Repeat the previous step for any other VSAM files you want to load into the database view.
- 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 Logger window to ensure that your VSAM loaded successfully.
Note:
- If a database view with the same name as your SUB name already exists, your VSAM is built into that existing database view.
Otherwise, AppMaster Builder creates a new database view for your VSAM of the same name as its SUB name.
- You can also load PSB sources into this same database view if the name of the PSB source file matches the SUB name found in
your VSAM file.
- You can load a SQL schema into this same database view if the name of the subschema matches the SUB name found in your VSAM
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 VSAM, see the topic
DDI Statements - VSAM.