+ Reply to Thread
Results 1 to 4 of 4

Thread: Any way to add to IFS streamfile with an OS/400 command?

  1. #1

    Default Any way to add to IFS streamfile with an OS/400 command?

    Have you tried using the STRPCCMD, or RUNRMTCMD commands, to run the DOS copy? Dave

  2. #2
    Guest.Visitor Guest

    Default Any way to add to IFS streamfile with an OS/400 command?

    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.

  3. #3
    Guest.Visitor Guest

    Default Any way to add to IFS streamfile with an OS/400 command?

    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.

  4. #4
    trevor.lazarus@ssa.gov Guest

    Default Any way to add to IFS streamfile with an OS/400 command?

    the Append command has the format: APpend localfile remotefile http://publib.boulder.ibm.com/iserie...zaiqappend.htm Trevor

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: 01-21-2008, 06:24 PM
  2. Websphere 5.0 - Command to end server from command line?
    By Guest.Visitor in forum Dev Tools
    Replies: 1
    Last Post: 10-10-2005, 10:18 AM
  3. What is that command????
    By padshore@optonline.net in forum General
    Replies: 3
    Last Post: 06-01-2005, 03:05 AM
  4. Check existence of IFS streamfile
    By Guest.Visitor in forum Programming
    Replies: 10
    Last Post: 11-16-2000, 11:48 AM
  5. Command GET in FTP
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 03-10-2000, 11:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts