Utilities : COBOL import utility : Extract COBOL contents
  
Extract COBOL contents
Creating CSV files
To create the necessary import files first you export the data elements in your COBOL record file to a CSV file:
1 On the File menu, click Select CSV File.
2 Type in the name of a file to hold your data elements (for example, dataelem.csv) and click Open. This will activate the Action menu item.
3 On the Action menu, click Create Data Elem CSV File.
The data elements in the current COBOL file will be exported to the current CSV file.
Export the data structures
1 On the File menu, click Select CSV File.
2 Type the name of a file to hold your data structures (for example, datastruct.csv) and click Open.
3 On the Action menu, click Create Data Struct CSV File.
The data structures in the current COBOL file will be exported to the current CSV file.
Export the entities
1 From the File menu select Select CSV File.
2 Type the name of a file to hold your entities (for example, entities.csv) and click Open.
3 From the Action menu select Create Entity CSV File.
4 In the Model Name dialog, type the name of the model that the imported entities will belong to.
If you want all of the entities to belong to the same model select Don’t prompt again, otherwise you will have to specify a model for each imported entity.
5 Click OK.
The entities in the current COBOL file will be exported to the current CSV file.
Note Remember the model name that you specify, as you will need it later when creating the Entity Relation diagram.