The Record Selection page shows the list of available data descriptions including redefines 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 | Lists the following values:
Note: The blank field indicates that the MCP COBOL Data Source Wizard could not determine the usage or the value is still unassigned. | |
Imported | If checked, the record is already imported. | |
Server Message Name | The C# name of the server message generated for the record. | |
EGI | If checked, the record is part of the data set that is terminated with an EGI. |
Importing COBOL Data Description
Perform the following steps to import COBOL data description:
(Optional) Click View Source to view the source file.
Select one or more data descriptions that is required to be imported.
(Optional) Select a record usage from the Server Usage list.
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 existing record. However, you can modify in the Set Discriminator page. 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 the existing COBOL data description:
Select one or more data descriptions that you want to update.
Click Update.
The Set Discriminator page appears.
Select a record usage from the Server Message Usage list, if required
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 MCP COBOL 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.
Click OK to complete the update operation.