Previous Topic Next topic Print topic


To create a new data view

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. In the Data View Explorer of the AppMaster Builder perspective, right-click the Data View Files entry and select Add. The New Source dialog box appears. The current Source folder appears in the Source folder list. A default name for the new data view appears in the Name field.
  2. Type a meaningful name for the new data view in the Name field. Use these guidelines to help you choose an appropriate name:
    • IMS - Give the data view the same name as the PSB source file that contains the DBD names you want to load into the data view.
    • VSAM - Give the data view the same name as the name specified in the DDI SUB statement of the DDISRC file you want to load into this data view.
    • SQL DDL - If the SQL DDL source you intend to load and build into this data view contains a CREATE SUBSCHEMA statement, the name of the data view must be the same name as is specified in the CREATE SUBSCHEMA statement. If your SQL DDL does not contain a CREATE SUBSCHEMA statement, you can name the data view anything you choose.
    • SQL SUBSCHEMA - Choose a name that describes the collection of tables you want to reference in this data view. AppMaster Builder uses the name you assign here to generate a CREATE SUBSCHEMA statement for this data view.
  3. Click OK. The new data view appears in the Data View Explorer's list of data view files for the project.

Once you create a data view, you can create and edit it's data sources, and load those sources into the database file. You can also set properties for the data view. See To create new database source files and To set properties for a specific data view for more information.

Note:

You can also set properties for this data view from the Properties tab on the Data Views dialog box. Be sure to set the properties before you load the data view, and click Save/Build to save the settings for future sessions.

Default data view names are based on the folder where the data view is to be stored and a sequential number, which is incremented by one if the sequential number is saved to the data view name. For example, if adding two files and using the default names DSYM00 and DSYM01, the default name for the next data view in that location is DSYM02. If you change that data view name, the next data view also defaults to DSYM02.

Data view names can be a maximum eight characters.

Previous Topic Next topic Print topic