OS 2200 TIP Record Selection

The Record Selection page shows the list of available data descriptions including re-defines found in the COBOL code. This page enables you to import the COBOL data descriptions and update the previously imported data descriptions.

The following table contains descriptions of the display fields.

Field

Description

COBOL Data Descriptions

The name of the data description that was found by the parser. The data descriptions also include the re-defines and the already imported records.

FD Name

The name of the file description.

Server Usage

Displays the following values:

  • Input: Indicates that data is sent to Transaction Server on the OS 2200 server.

  • Output: Indicates that data is received from the OS 2200 Transaction Server. The unique identifier chosen is used to correctly identify the data stream to the saved record.

  • Input/Output: Indicates that data is expected to be sent to and received from the OS 2200 Transaction Server.

Note: The blank field indicates that the Server usage has not been specified.

Imported

If checked, the record is already imported.

Server Message Name

The C# name of the server message generated for the record.

Importing COBOL Data Description

Perform the following steps to import COBOL data description:

  1. (Optional) Click View Source to view the source file.

  2. Select one or more data descriptions that is required to be imported.

  3. (Optional) Select a record usage from the Server Usage list.

  4. Click Import.

The Set Discriminator page is displayed to modify the Output, Input/Output, and unspecified records. The page does not appear for Input records because they do not require further processing.

Note: In the Record Selection page, you cannot modify the Server Usage column for an already imported record. To change the Server Usage of an imported record, select the record and click Update. The Set Discriminator page is displayed that allows you to modify the record.

Updating Existing COBOL Data Description

You can reimport or update the existing records only if the Imported field is checked for the associated records.

Perform the following steps to update existing COBOL data description:

  1. Select one or more data descriptions that you want to update.

  2. Click Update.

    The Set Discriminator page appears.

  3. Select a record usage from the Server Message Usage list, if required.

  4. Do any of the following:

    • Clear the Discriminator field(s) not required for this Data Description check box if you want to define a unique identifier. Refer to OS 2200 TIP Set Discriminator for more details on how to define a unique identifier.

    • If you want to skip defining a unique identifier, select the Discriminator field(s) not required for this Data Description check box.

  5. Click OK to complete the update operation.