Adding or editing PSB template definitions

Use the Add or Edit PSB Template Definitions wizard to specify a replacement character for PSB template files.

Before you begin

Import IMS™ resources

Procedure

To specify a replacement character for a PSB template:

  1. From the Import IMS Resources wizard, specify the PSB file that contains your template variable.
  2. If the template variable portion of the PSB name contains an illegal character, the wizard prompts you to open the Add or Edit PSB Template Definitions wizard to specify a replacement character for them. (If your replacement character is not an illegal character or to go to the wizard directly, you can right-click your project in the Project Tree, and click IMS Explorer > Add or Edit Template).
  3. In the Add or Edit PSB Template Definitions wizard, select Add...
  4. Specify the variable string that is to be replaced with a replacement character. For example, specify %# for a 2-character variable.
  5. Identify the replacement strings that replaces the variable in your PSB template. For example, to create ten new PSB files from the template with the numbers 00 - 10, add the replacement strings: 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10.
  6. Click Finish.

Results

For each replacement character specified, a new DLIDatabaseView class is created from the template PSB in your IMS Explorer project.




© Copyright IBM Corporation 2010, 2017.