Each month I need to transfer approximately 200 iSeries files to our PC shared network drive. I know how to use Client Access file transfer, but it will take hours each month to do it manually. I'd like to automate the process in an iSeries CL program by simulating the Client Access program PC5250$A.TTO or an easier way if possible. Any help will be greatly appreciated.
This is one option:
1. Define QNTC as described here, this will allow direct writing from the iSeries to the NT share.
2. For every file issue command CPYTOIMPF directly to the QNTC, for example:
CPYTOIMPF FROMFILE(somefile) TOSTMF('/qntc/pcname/dirname/pcname') MBROPT(*REPLACE) RCDDLM(*CRLF)
MORE INFORMATION ON THIS TOPIC
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
The Best Web Links: Tips, tutorials and more.
PC/Windows connectivity expert Shahar Mor is available to answer your toughest networking questions. Ask Shahar a question or read his previously answered questions here.