Using the DBD Schema Editor
- From the main screen, click Apps.
- From the Diagnose/Explore box, click DBD Schema Editor.
- The DBD Schema Editor is displayed as shown below.
- Select a RECON data set from the list and select an associated IMS ID.
- Based on the selection, the DBDLIB list is populated. Select a DBD LIB from this list.
- Select a DBD from the list or search for a DBD, and click Load Tree. The DBD Schema Editor displays the DBD Schema as a tree structure in the right-hand side pane as shown below.
- Select a segment from the schema tree. The window displays DBD details for the selected segment as follows.
- Optionally, click Edit Detail to modify the DBD details for the selected segment such as Length, Position, Fill Type, and Data Type.
- Optionally, click New Field to add a new field to the DBD details.
- You can also modify the following segment properties:
- General Properties—segment name and the name of its parent. You cannot modify these properties.
- Length Properties—variable or fixed length, maximum length, key length, and concatenated key length
- Compression Properties—whether compression is enabled or not
- Key Properties—whether the key field is present, and whether the key is unique
- Logical Relationship—whether the segment is paired with another segment, and also if it is a logical child or a logical parent of another segment
- Virtual Properties—whether the segment is virtual or not
- Count Properties—number of children that the segment has, number of fields that the segment has, and frequency
- Dataset Properties—dataset group ID
- Additionally, you can modify the following database properties:
- Database randomizer name
- Root addressable area size
- Number of RAPs
- Data set group to select and move the data set to another group
- Optionally, click Add Segment to add a new segment.
- Type a name for the segment.
- Select a parent segment for this new segment from the drop-down list.
- Click Add.
- A message stating that the add operation is successful is displayed.
- Click Import/Export and select one of the following options:
- Import Schema—select an earlier saved schema XML to load the schema and display it in the DBD schema editor.
- Export Schema—save the schema as an XML file to your local computer.
- Click View New Source and select one of the following options:
- GEN—select this option to view the generated JCL.
- DDL—select this option to view the data definition.
- Click Analyze Changes to see an analysis of the difference in the original and updated HDD copy and the actions that have caused this difference.
- If the reason and the result tally, click Save to commit the changes to the database.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*