Importing from VSAM COBOL FD files - Started Task (QSAM/PDS)
To import VSAM COBOL FD files:
1. Click the Import button in the CONNX Data Dictionary Manager window.
2. Select VSAM COBOL FD files in the Import Type list box.
3. Specify the fully qualified PDS (partitioned data set) and member name for the COBOL FD, for example, CONNX.VVRR.STASK.COPYBOOK(CUSTOMER).
A COBOL FD specification does not contain the corresponding File Control Table (FCT) name or Started Task DD (Data Definition) name; therefore, it must be specified on the Table Properties tab in the CONNX Data Dictionary Manager window when the data is returned.
At this point All of the record layouts in the specified file are imported. No additional logon information is required.
4. In the Server text box, enter the symbolic or dotted numeric TCP/IP address of the target host, and then enter your TSO user name and password. Enter a TCP/IP port number, and then click the OK button.
5. Type a user name in the User Name text box.
The user ID must be authorized for FTP access to the target host, and must contain a RACF OMVS segment. For example, the default user ID USER can be modified via RACF commands to permit FTP access by adding an OMVS segment:
USER=USER NAME=USER
OMVS INFORMATION
________
UID= 0000000000
CPUTIMEMAX= NONE
ASSIZEMAX= NONE
FILEPROCMAX= NONE
PROCUSERMAX= NONE
THREADSMAX= NONE
MMAPAREAMAX= NONE
The userid used for CONNX CDD imports need not be authorized for TSO access, as long as it has read authority to the target COBOL copybook partitioned data sets. By default, the CONNX COBOL copybooks reside in CONNX.VVRR.STASK.COPYBOOK.(CUSTOMER).
6. Type a password in the Password text box.
7. The TCPIP port number is set to 6500 by default, but can be configured via the CONNX NX01 transaction.
8. Select a Destination Database for the imported tables.
9. Select each imported file and follow these steps:
a. Click the Table Properties tab in the CONNX Data Dictionary Manager window.
b. Type the name for the file in the File Name text box. For example, the short file name for the CONNX VSAM KSDS sample customer file is CNXCSTK.
c. Tab out of the File Name text box to display the CONNX Database Logon dialog box. Click the OK button.
d. Click the Table Indexes tab to display the key information for the imported VSAM file.
If the Table Index information list box is empty, click the Refresh Indexes button. If the list box remains empty, no indexes are defined on the imported VSAM file.
e. Repeat steps a) through d) for each file for which there is imported metadata.
f. Click File -> Save.
10. For the CONNX sample files using the CONNX.VVRR.STASK.COPYBOOK prefix, select from this list of member names and file names:
CONNX.VVRR.STASK.COPYBOOK Member Name | File Name |
CUSTOMER | CNXCSTK |
CUSTOMRE | CNXCSTE |
CUSTOMRR | CNXCSTR |
EQUIPMNE | CNXEQE |
EQUIPMNR | CNXEQR |
EQUIPMNT | CNXEQK |
ORDER | CNXORK |
ORDERE | CNXORE |
ORDERR | CNXORR |
PRODGRP | CNXPGK |
PRODGRPE | CNXPGE |
PRODGRPR | CNXPGR |
PRODUCT | CNXPRDK |
PRODUCTE | CNXPRDE |
PRODUCTR | CNXPRDR |
Note:
For your site, specify the COBOL copybook PDS/member and the corresponding file name to import test or production metadata.