Follow these directions to transfer a file from a database file to a stream file on your server.
You can also perform this data movement in a batch job with the data transfer applications. Proceed as above, but select the File menu option to save the transfer request. The Data Transfer To iSeries server application creates a .DTT or a .TFR file. The Data Transfer from iSeries server application creates a .DTF or a .TTO file. In the iSeries Access Family directory, two programs can be run in batch from a command line:
You can set either of these commands to run on a scheduled basis by using a scheduler application. For example, you can use the System Agent Tool (a part of the Microsoft® Plus Pack) to specify the program to run (for instance, RTOPCB MYFILE.TTO) and the time at which you want to run the program.