Configure Discriminator Field Dialog

You use this dialog to specify the server message direction and discriminator for a particular DPS CONNECTOR file during import. This dialog is accessed from the DPS Import Form Library Dialog.

Each COBOL data description that is received from the OS 2200 application (an output or input/output description) must include a unique text string. This unique string is used at runtime to identify the data being received from the OS 2200 server. Refer to the topic Planning the Data Identification Strategy in Preparing to Use the OS 2200 COBOL Data Source Wizard for more information.

For instance, if the COBOL data description has a field with the value DEPOSIT and the text string is unique among all the COBOL data descriptions of the project, selecting just this field is acceptable. However, if other data descriptions of the project also have a field with the value DEPOSIT and such a field is selected as a data identifier, then a second or even a third field of the data description needs to be selected to differentiate this data description from the other data descriptions.

Note: The DPS Import Form Library Dialog automatically selects the screen NUMBER and CHECK-NUMBER fields to create a unique identifier. If necessary, you can manually reconfigure the fields used to create the unique identifier, as described in step 2 of the following procedure.

  1. Indicate whether the data is sent to or received from the OS 2200 server by selecting one of the following from the Server Message Direction list:

    • If you always use this message to receive data from the OS 2200 server, select Output.

    • If the message might be used to both send and receive data, select Both Input and Output.

  2. If necessary, you can manually reconfigure the field or fields to use as a unique identifier, as follows:

    1. Select a field containing text that is unique to the entire project or that combined with another field of the data description creates a unique set of data values for the data being received from the OS 2200 server.

    2. Click Select.

      The field and its value appear in the Selected Fields box.

    3. If you need more than one text string for this data description in order to create a unique text string for the data being received from the OS 2200 server, repeat the step above.

    4. To modify a data identifier, select the field in the Selected Fields box, click Modify, and make the modification.

      Note: If the field has an initial value set with the COBOL VALUE clause, then you can not modify the value.

    5. To remove a field, select the field in the Selected Fields box and click Remove.

    6. Click OK.