Previous Topic Next topic Print topic


To initialize data

To initialize a field
  1. In the Layout view, click the field you want to initialize.
  2. Click Edit > IMS DB Editor > Initialize Field.

    An alphanumeric field initializes to spaces. A numeric field initializes to zeros.

Note: Where the segment occurrence uses a conditional segment layout, you cannot initialize any test fields associated with that layout.
To initialize an unformatted segment occurrence or to initialize a formatted segment occurrence without changing its layout
  1. On the tree view, select a segment occurrence to initialize.
  2. Click Edit > IMS DB Editor > Initialize Segment.
Note: If the segment occurrence being initialized uses a conditional segment layout, test fields associated with that conditional layout are not initialized.
To initialize a formatted segment occurrence and change its layout in the process
  1. On the tree view, select a segment occurrence to initialize.
  2. Click Edit > IMS DB Editor > Select Layout and Initialize.
  3. Select a layout on the list; then click OK.
To initialize a formatted segment occurrence and reformat its data to use padding bytes
  1. On the tree view, select a segment occurrence to initialize.
  2. Click Edit > IMS DB Editor > Select Layout and Initialize.
  3. Select Use padding byte from the list; then click OK.
Previous Topic Next topic Print topic