Have you tried using the STRPCCMD, or RUNRMTCMD commands, to run the DOS copy? Dave
Have you tried using the STRPCCMD, or RUNRMTCMD commands, to run the DOS copy? Dave
I don't want to run the DOS copy, though. I want to run it purely on the 400. I think now I could probably do it with several CPYFRMIMPFs, then a CPYTOIMPF to put it all back in a single streamfile.
On a PC, if I want to concatenate a file, I can open a DOS box and do COPY file1 + file2 + file3 file4 I am wondering if there is a way to do this with files in the IFS? There doesn't seem to be a way to do this with greenscreen commands: CPY does not have a "replace or add" parm. CPYTOSTMF and CPYTOIMPF do not let me copy from a streamfile. IFSTOOLs don't have anything like that. Am I doomed to delve into the file system APIs? I can do what I want from my PC with COPY, but it generates a lot of network traffic.
the Append command has the format: APpend localfile remotefile http://publib.boulder.ibm.com/iserie...zaiqappend.htm Trevor