3.13.1 Transfer IBM mainframe files

You can send or receive files on IBM3270 mainframes or AS/400 systems.

To transfer files to a mainframe from your PC

  1. Click the Settingsbutton, and configure the file transfer settings.

    For most situations, you can configure for file transfers by selecting a preset configuration in the Protocoltab.

  2. Click OK.

  3. From the Transfer dialog box, under Local, do one of the following:

    • Browse under Local folders, and then select one or more files from the list.

      -or-

    • Type the path and filename into the File names box.

  4. Select your preferences for Transfer method, If file exists, and Record format.

  5. Specify the host file information:

    For this host system

    Do this

    CICS

    Type a filename in the File names box.

    It is not possible to perform transfers involving multiple files.

    If you don't type a filename, Reflection uses the PC filename, with the period and extension, if applicable, removed. To avoid overwriting files, do not send files with the same filename and different extensions.

    CMS

    Click Show host files, and browse to select one or more host files.

    -or-

    Type the file information into the File names box.

    If you don't type a filename, Reflection uses the PC filename. If a PC file you are transferring does not have a file extension, the transfer fails.

    TSO

    Click Show host files, and browse to select one or more host files.

    All datasets that have a high-level qualifier that equals your user ID are displayed.

    -or-

    Type the file information into the File names box.

    If you don't type a filename, Reflection uses the PC filename.

  6. To initiate a file transfer, do one of the following:

    • Click a Transfer button to move the file in the indicated direction.

      -or-

    • Drag the source file, and then drop it on the desired destination file.

To transfer files from a mainframe to the PC

  1. Click the Settingsbutton, and configure the file transfer settings.

    For most situations, you can configure for file transfers by selecting a preset configuration in the Protocoltab.

  2. Click OK.

  3. Specify a host file:

    For this host system

    Do this

    CICS

    Type a filename in the File names box.

    It is not possible to perform transfers involving multiple files.

    CMS

    Click Show host files, and browse to select one or more host files.

    To filter the list, you can enter partial filenames or wildcards; for example, to see all files that begin with the letter "d" of the mode "files" on the "a" disk, type the following:

    d* files a

    -or-

    Type the file information into the File names box.

    TSO

    Click Show host files, and browse to select one or more host files.

    All datasets that have a high-level qualifier that equals your user ID are displayed.

    -or-

    Type the file information into the File names box.

  4. Select your preferences for Transfer method, If file exists, and Record format.

  5. From the Transfer dialog box, under Local, do one of the following:

    • Browse under Local folders, and then select one or more files from the list.

      -or-

    • Type the path and filename into the File names box.

    If you omit this step, Reflection uses the host filename.

  6. To initiate a file transfer, do one of the following:

    • Click a Transfer button to move the file in the indicated direction.

      -or-

    • Drag the source file, and then drop it on the desired destination file.

To receive data from an AS/400

  1. Click the Settingsbutton, and configure the file transfer settings.

  2. From the AS/400, Options, and Translation tabs, specify the way you want Reflection to handle AS/400 transfers.

  3. Click OK.

  4. From the Transfer dialog box, under Host, specify the host file from which to receive data using one of the following techniques:

    • Click Show host files, and browse to select one or more host files. You can right-click on a file or member to view a brief description, if available. If the library containing the host file you need is not shown, click Add library and type the library name in the Add Library dialog box.

      -or-

    • Type the file information using this syntax: LIBRARY/FILE(MEMBER).

      NOTE:If Reflection is configured to use a character set that is not supported by your host, you cannot display host files using the Show host files button.

  5. (Optional) To configure an SQL query, click Settings and from the SQL tab, build your query.

    Field information about the host file you selected becomes available when you select this tab.

  6. From the Transfer dialog box, specify a local destination for the data.

    To send data to

    Do this

    A file

    Specify a filename under Local.

    If you don't specify a filename, Reflection uses the host filename.

    A display window

    Click Settings, and then on the Options tab, select Display in the Output to list.

    A spreadsheet

    Click Settings, and then on the Options tab, select spreadsheet in the Output to list.

    Data is saved to a .DIF file.

  7. To initiate a file transfer, do one of the following:

    • Click a Transfer button to move the file in the indicated direction.

      -or-

    • Drag the source file, and then drop it on the desired destination file.

See

For information about...

AS/400 Transfer

AS/400 transfer configuration options

Batch Transfers

Creating a list of transfers in a transfer request file that can be used to perform multiple transfers in a single operation

Configure File Transfer

Configuring file transfer settings

Saving and Repeating Transfers

Transfer request files

IBM File and Data Transfer

Support for IBM file transfer

Use File Transfer Naming Templates

How to set up a file transfer template to define a set of conditions that affects the way Reflection names files transferred between your PC and a host

Mainframe File Transfer

Mainframe file transfer

Create a File Transfer Template

How to create a custom file template

Transfer Request Files

Creating a transfer request file so you can perform the same transfer (or transfers) again later, without having to specify files and options each time.