How to receive a Natural NATUNLD file from support via FTP?

Document ID : KB000055630
Last Modified Date : 14/02/2018
Show Technical Document Details


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.


  1. Use FTP to transfer in BINARY mode the file identified by support to your PC from the CA FTP
    Logon -anonymous

    Get the file in the subdirectory created for you by support. The subdirectory name will be in the form -
    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.

  2. Allocate a physical sequential data set on your mainframe with DCB attributes -
  3. 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.

  4. 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:
    You will then receive a message from the RECEIVE utility indicating that the data set has been restored.

  5. Run appropriate Natural utility according to the instructions provided by support using the new variable-blocked data set created in Step 4.