Importing a DISAM COBOL File Definition
To import a DISAM COBOL file definition:
1. Go to the main online CONNX Data Dictionary Manager page.
You can select CONNX Data Dictionary from the home page or the tile menu on the top right.
2. Browse to the CDD you want to import in and open it.
3. Click the Import button.
4. In the Import Type window, select DISAM COBOL FD from the dropdown menu and click OK.
5. In the Connection Information step, fill in the connection information in the respective fields and click Next:
a. The server address in the Server field.
b. The username for the server in the Username field.
c. The password for the server in the Password field.
d. The TCP/IP port in the TCP/IP Port field.
e. Select a destination database from the dropdown menu. If you don't select a database, the destination database will default to a new one.
f. Turn the Use TLS/SSL option on if you want to use that functionality.
6. In the Import Properties step, choose either a remote or a local copybook.
If you want to use a remote copybook, click the Remote Copybook radio button and enter a fully qualified library.sublib.member.type name in the COBOL FD Dataset Member field, for example cnxvvrr.copybook.customer.c. The file must reside in a library.sublib and the library must be defined to the TCP/IP file system.
If you want to use a local copybook, click the Local Copybook radio button and select a file from the list.
To upload a copybook to the REST server from your machine, click the upload icon on top of the pane and browse to the local file you want to upload.
To download a copybook from the REST server to your machine, click the download icon next to it.
To delete a copybook on the REST server, click the trash can icon next to it.
7. If you want to rotate the arrays generated from OCCURS DEPENDING ON clauses, set the option to on.
If set to on, this option transforms long arrays to tables. See Overview of Rotated Arrays for more information.
8. Click Done to finish the import procedure.
Cobol copybooks do not contain the name of the data file. When you import from a copybook, you have to enter the file name of the data sources manually. See Inputting the Data File Name when Importing from File Definition Files for more information.