Transferring save files that are located in the QSYS.LIB file system on IBM i systems
WebSphere® MQ File Transfer Edition supports the transfer of save files located in the QSYS.LIB file system between two IBM® i systems. Consider the following information when requesting file transfers of save files.
FILE(library name/file name)
For
example, a save file called MYSAVF is located in a library called
SOMELIB is identified as FILE(SOMELIB/MYSAVF). /QSYS.LIB/SOMELIB.LIB/MYSAVF.FILE
WebSphere MQ File Transfer Edition on IBM i recognizes the IFS naming convention but does not support the syntax used by CL commands. The following examples illustrate valid and invalid path names for WebSphere MQ File Transfer Edition.
- /QSYS.LIB/SOMELIB.LIB/MYSAVF.FILE (assuming MYSAVF save file is located in the library SOMELIB)
- /QSYS.LIB/MYSAVF.FILE (assuming MYSAVF is located in the library QSYS)
- SOMELIB.LIB/MYSAVF.FILE (Path name must start with /QSYS.LIB)
- /QSYS.LIB/MYLIB.LIB (Path must end in a save file name, not a library name)
- /QSYS.LIB/MYLIB.LIB/ (Save file name is required)
- /QSYS.LIB/SOMELIB.LIB/MYSAVF (Save file name must have a .FILE extension in name)
- /QSYS.LIB/SOMELIB.LIB/MYSAVF.SAVF (Save file name extension must be .FILE)
Transferring multiple save files from a library in a single transfer request
WebSphere MQ File Transfer Edition on IBM i supports the transfer of multiple save files from a library as a single transfer request. You can specify an appropriate path name that includes wildcard characters as shown in the following examples:- ABCLIB contains many save files. To transfer all these files in
a single request, specify the following path name:
/QSYS.LIB/ABCLIB.LIB/*.FILE
- XYZLIB contains several save files whose names differ by a single
character, that is: TEST1.FILE, TEST2.FILE. TEST3.FILE, and so on.
To transfer all of these files in a single request, specify the following
path name:
/QSYS.LIB/XYZLIB.LIB/TEST?.FILE
/QSYS.LIB/MYLIB.LIB/*.*
/QSYS.LIB/MYLIB.LIB/*
WebSphere MQ File Transfer Edition supports the transfer of save files that are located in the QSYS.LIB file system but the transfer of other types of files that are located in the QSYS.LIB file system is not supported. However, WebSphere MQ File Transfer Edition provides samples that use the save file support and use predefined fteAnt tasks to demonstrate how a complete library, a source physical file, or database file can be transferred between two IBM i systems. See Getting started using Ant scripts with WebSphere MQ File Transfer Edition for details on how to customize and use these samples.