× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



He's trying to merge all of the FILES together?!  I thought he was just
trying to merge the list of filenames into an XML document.

If you're trying to merge them all together you could do them in QSHELL
using the cat program.
        STRQSH CMD('cd /somepath; cat * >> /path/to/bigfile.dat')


On Wed, 5 Jun 2002, Vernon Hamberg wrote:

> Do you have NetServer running on the 400? If so, you can go to a DOS
> (command) prompt in whatever flavor of Windows and run
>
> copy \\your_ip_address\your_path_on_as400\*.* your_output_file
>
> The output could be on the 400, preceded with the path stuff. I'm not sure
> of the order, but all the files in the directory will get concatenated into
> the output file.
>
> You can make things a little easier by mapping a network drive and changing
> directory (CD) to the location of the input files.
>
> HTH
>
> At 04:10 PM 6/5/02 -0500, you wrote:
> >Folks:
> >
> >I need to merge all the files that reside in a specific named IFS directory
> >into one single file.  The merged file can be in the IFS, or it can be
> >DB/2, either will work.  The data contained in these files is XML commands.
> >I would use DSPLNK if the output went to an outfile, but I can't figure out
> >how to get a list of the files to copy, or find a command that will use
> >wild cards to accomplish the task.  Any Ideas?
> >
> >Jim Oberholtzer
> >
> >



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.