Tutorial: IMS Segment Layout Editor

Walks you through the process of using the IMS Segment Layout Editor to create default and conditional COBOL layouts for an IMS database.

You can define one default segment layout for each segment type. You can also define one or more conditional segment layouts for the same segment type. The IMS Database Editor uses the default segment layout to format data for those segment occurrences that do not match any of the conditional segment layouts.

Prerequisites

  • Review the Before you begin these tutorials section in the Tutorials: IMS topic to ensure your environment is set up properly.
  • This tutorial builds on Tutorial: IMS Support. If you have already completed Tutorial: IMS Support, nothing further is required. However, if you have not completed Tutorial: IMS Support, complete all steps included in the Set Up the IMSSupport Project topic, and all steps in the Load the IMS database section of the Configure IMS topic before proceeding.

Assumptions

  • This tutorial assumes that you have the IMSSupport project open in Visual Studio.
  • This tutorial assumes a working directory of c:\tutorials\IMS. If you created your project in an alternative directory, please adjust the instructions as required.

Sequence

To complete this tutorial, progress through these topics in the order presented here. The bottom of each topic provides Next topic and Previous topic navigational links to help you proceed in the proper sequence: