To load and build VSAM into a data view

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. Save all VSAM source files you create to the DDISRC directory of your project/view.
  2. 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.
  3. Select the VSAM Source radio button.
  4. From the list of sources, select the file you want to load and build into this data 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.
  5. Repeat the previous step for any other VSAM files you want to load into the data view.
  6. Click Save/Build. A message box appears when the data view has finished building.
  7. 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 data view with the same name as your SUB name already exists, your VSAM is built into that existing data view. Otherwise, AppMaster Builder creates a new data view for your VSAM of the same name as its SUB name.
  • You can also load PSB sources into this same data 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 data 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 data 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.