FTP'ing a Natural unload file requires converting the variable-blocked file created by the Natural NATUNLD, SYSTRANS or SYSOBJH utility into a fixed-blocked format file that can be correctly transmitted by FTP. Once the Natural unload file is transferred to the client's mainframe, it must be converted back to variable-blocked file so that the appropriate Natural utility can read it.
- Use FTP to transfer in BINARY mode the file identified by support to your PC from the CA FTP server-ftp.ca.com.
Logon -anonymousGet the file in the subdirectory created for you by support. The subdirectory name will be in the form -
outgoing\siteid\issue-no Note: You must specify the entire path name as shown above in the CD command. The CA server does not permit drilling down one directory at a time to the subdirectories.
- Allocate a physical sequential data set on your mainframe with DCB attributes -
FORMAT=FB, LRECL=80, BLKSIZE=3120
- Use FTP to transfer the file from Step 1 in BINARY mode from your PC to the mainframe, putting it in the fixed-blocked data set you created in Step 2.
- Go to the TSO command facility (usually option 6 in ISPF) and execute the 'RECEIVE' command to create a variable-blocked data set from the fixed-blocked data set:
RECEIVE INDSNAME('your.fb.dataset') You will be prompted for the name of the variable-blocked data set to be created by the RECEIVE command:
DA('new.vb.dataset') You will then receive a message from the RECEIVE utility indicating that the data set has been restored.
- Run appropriate Natural utility according to the instructions provided by support using the new variable-blocked data set created in Step 4.