Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ANSI X12

Status
Not open for further replies.

Volkmaniac

Technical User
Mar 19, 2003
104
US
Is there a way you could sequentially join ANSI X12 EDI files using Unix or DOS? We're about to start processing form 175's and I'd like to try and join multiple files we receive.
 
You can accomplish the requested task in either UNIX or DOS in multiple ways.

In UNIX, you can use:
'cat * >> outfilename' to copy all of the files in the current directory to the output file. '>>' will cause the data to append as opposed to '>', which overwrites the file.

 
Thank You. I ended up using a program called ffcat for DOS. It basically does the same thing using a command line:

FOR %F IN (*.TXT FILE.*) DO FFCAT %F OUTFILE.TXT /NOFF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top