To create new data source files in AppMaster Builder

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. From the Data View Explorer, right-click a data view entry.
  2. On the context menu, click Add, and then select a data source type from the context menu.
  3. Either type the name of the new data source into the Name field, or accept the default name. For reference purposes, you can click Load to see a list of existing data sources. Remember that in most cases, a data source name must match the name of the data view. See Data Source Files for details.
  4. Click OK to create the file and add it to the data view.
  5. Click Exit to close the dialog box.
  6. From the Data View Explorer, double-click the new data source to open the AMB text editor where you can enter the appropriate code.
    Note: With SQL SCHEMA data sources, instead of coding the file, you also have the option to assemble a new data source file using the SQL Schema Maintenance dialog box. See To define or modify a SQL SCHEMA file for details.
  7. Press Ctrl+s to save the coded data source; then close the editor.
    Note: AppMaster Builder saves the new data source in the appropriate project\group subdirectory.
  8. Back on the Data View Explorer, right-click the data view entry that contains the new data source file; then select Refresh from the context menu.
  9. If you have created a new PSB file and have DBD and/or DDI IMS DB files to add as well, right-click the data view's PSB Files entry; then select Add Referenced DBDs and IMS DDI from the context menu.
  10. If you have coded a new SQL SCHEMA file, right-click the data view's SQL SCHEMA Files entry, select SQL Schema Maintenance from the context menu, and click OK. This adds referenced SQL DDL to the data view.
Notes:
  • For information on coding DDI VSAM data source files, see Coding DDI VSAM Sources.
  • For information on coding DDI IMS DB data source files, see Coding DDI IMS DB Sources
  • You can optionally create new sources outside of the AppMaster Builder environment. Be sure to save all new sources in their appropriate project\group subdirectories. See the Data source locations section in the Data Source Files topic for details.