Want to copy IFS data from the iSeries to a Windows server using only one command? These steps will help you do...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
1. Start NetServer on iSeries using iSeries Navigator (/Network/Servers/TCP/IP/iSeries NetServer) or OS/400 command STRTCPSVR SERVER(*NETSVR)
2. Enter command MKDIR DIR('/qntc/Wservername'). Be aware to enter this command after each system IPL because all these QNTC links will be cleaned up during IPL.
3. Use command WRKLNK OBJ('/qntc/Wservername') and then option 5=display to verify that you can see all shared folders on the Window server. Be aware that user/password on iSeries and Windows sever must be the same.
4. Use command COPY OBJ(IFSpathname) TODIR('/QNTC/Wservername/foldername)
And that's it.
Note: If your Window server is not in the same IP subnet as your iSeries server, you'll have to indicate your WINS server address in the iSeries NetServer properties in iSeries Navigator.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.