I need to write a .bat file in DOS to call an AS/400 file transfer. I have created the .dtf but don't know how to call it from DOS. Placing an icon for the .dtf on the user's desktop is not an option as this .bat file will also be performing other tasks that need to appear seamless to the user. Any help would be appreciated. Thank you. Erik Osberg
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
File transfer from AS/400 to PC
Collapse
X
-
File transfer from AS/400 to PC
Haven't written one from scratch in about 7 years but I have one that should at least be an exmample. My example uses a .tto but I believe you can use a .dtf as well. RTOPCB - transfers to PC in batch RFROMPCB - transfers to 400 in batch The /S switch displays statistics (number of records transferred). Errorlevel tests can be done to determine success or failure. Also, typing rtopcb /? will give you info on available switches/parameters. HTH
Code
Comment