Modifying field attributes in the phone book sample

Use the IMS™ Explorer to modify a field attribute in the phone book database.

About this task

The phone book database that is shipped contains an IMS field (search field) named A1111111. To make sample queries more readable, add the alias LNAME to this field.

Procedure

To add an alias to your IMS field:

  1. Create an IMS Explorer project, and import the sample PSB and DBD files into the project.
  2. After importing the DBD, expand the DBD folder in the project and double click IVPDB1.dbd.
  3. Right-click the segment A1111111 and select option Add or Edit Fields.
  4. In the Add or Edit Fields wizard, select the field A1111111 and click Edit. Replace the existing alias with LNAME.
  5. Click Finish.
  6. Click Save in the menu bar to save the changes in the DBD source.




© Copyright IBM Corporation 2010, 2017.