BigKat
2540 pts. | Aug 17 2005 8:37AM GMT
If you have an FTP server on the PC, you could have the iSeries CL FTP the file to the PC and then send a remote command to run a .BAT file on the PC to do your PGP processing. Look at help for quote and rcmd to see how you would send the remote command.
McSick
30 pts. | Aug 17 2005 9:44PM GMT
Use CPYTOIMPF to create a comma delimited version of your file and copy to /QDLS/…. then FTP /QDLS/… .csv file to PC network folder
Or
Use CPYTOSTMF command to copy the fixed file to /QDLS/… .dat or .txt file and then FTP /QDLS/… .dat or .txt file to PC network folder
TomLiotta
7285 pts. | Nov 1 2009 7:31AM GMT
Note that any references to [/QDLS] should be taken to mean [/QNTC]. The /QDLS file system should not be used on any system at V5R1 or later.
The /QNTC file system is a meaningful replacement choice because it automatically refers to shares that have been exported from Windows server systems. A more complete path would be [/QNTC/windowsservername/sharename/RemoteFileName.ext]. There is no need for FTP. The remote PC is written to directly.
A requirement is matching user/password on both systems. The user/password on the Windows system is often created as a local user on that PC. The System i user can be created just for the purpose of transfers to/from Windows. Security APIs can be used to switch the job to the transfer user before the transfer, and then back to the job user after completion. The transfer itself would be essentially transparent.
Tom






