Send Data to an AS/400
NOTE:If you plan to perform a transfer regularly, you can save your transfer settings in a transfer request file.
To send data to a member of a file on an AS/400
-
In a 5250 session, open the File Transfer dialog box.
The steps depend on your user interface mode.
User Interface Mode
Steps
The Reflection Ribbon
On the Session tab, from the Transfer group, click File Transfer.
Classic or Classic MDI
On the Tools menu, choose Transfer File.
The Reflection Browser
On the Reflection menu, choose Tools and then File Transfer.
-
Click the Settings button to open the Transfer Settings dialog box.
-
On the AS/400 tab, specify the host to send the data to and the credentials (Username and Password) you want to use to log on to the host.
NOTE:You can transfer data to a host other than the host your session is connected to.
-
On the Options tab, under To host, browse to the Description .FDF file that was created when you downloaded the file from the host. (Reflection creates this file by default when you download a file.)
-
In the Objects list, select one of the options to create a new member or replace an existing member.
-
If you are creating a new member in a file, enter a description in the Member text box. (This step is optional.) This text description is displayed when you view the files in your application.
-
On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.
-
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.
NOTE:You can transfer more than one file only if the description .FDF file you are using applies to all the files.
-
-
Under Host, specify which host file and member should receive the data using one of the following techniques:
-
To create a member, click Show Host Files and browse to select a host file or type the file information in the File names box, using this syntax: LIBRARY/FILE
-or-
-
To replace a member, click Show Host Files and browse to select a host file and member or type the file information in the File names box, 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.
-
-
To initiate a file transfer, do one of the following:
-
Click the
Transfer button.-or-
-
Drag the source file, and then drop it on a destination file.
-
To send data to a new file and member on an AS/400
-
In a 5250 session, open the File Transfer dialog box.
The steps depend on your user interface mode.
User Interface Mode
Steps
The Reflection Ribbon
On the Session tab, from the Transfer group, click File Transfer.
Classic or Classic MDI
On the Tools menu, choose Transfer File.
The Reflection Browser
On the Reflection menu, choose Tools and then File Transfer.
-
Click the Settings button to open the Transfer Settings dialog box.
-
On the AS/400 tab, specify the host to send the data to and the credentials (Username and Password) you want to use to log on to the host.
NOTE:You can transfer data to a host other than the host your session is connected to.
-
On the Options tab, under To host, browse to the Description .FDF file that applies to the file you are transferring. (Reflection creates this file by default when you download a file.)
-
To create a new file and member, in the Objects list, select Create File and Member and then enter the following settings:
-
In File type, select the type of file to create (Data or Source).
-
In the Authority list, choose the type of file permissions (for example, Read/Write) for the file.
-
To add a description for the file, enter a description in the File text box. (This is optional.) The text description is displayed when you view the files in your application.
-
To add a description for the member, enter a description in the Member text box. (This is optional.) The text description is displayed when you view file members in your application.
-
In the Reference file box, specify a reference file to use for the file you are sending, using the following syntax:
library_name/filename
The new host file is created using the field names in the description file and the definitions of the fields in the reference file.
NOTE:A reference file is a physical file that defines the fields used in other files. You can create a field reference file to contains only the field descriptions that you need for any group of files or you can specify a file that has the same fields as the file you are creating.
-
-
On the Translation tab, specify how to handle filename spaces, underscores, length, and case and click OK.
-
From the Transfer dialog box, under Local, enter the file you want to transfer:
-
Browse under Local folders, and then select the file from the list.
-or-
-
Type the path and filename into the File names box.
-
-
Under Host, enter the library and the new host file in the File names box, 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.
-
To initiate a file transfer, do one of the following:
-
Click the
Transfer button.-or-
-
Drag the source file, and then drop it on a host library.
-