|
Have a look at the CPYFRMIMPF (Copy From Import File) command. PC2 -----Original Message----- From: McGivern, Tom [mailto:Tom.McGivern@xxxxxxx] Sent: October 30, 2003 14:06 To: midrange-l@xxxxxxxxxxxx Subject: How to sort a flat text file on the 400. Any suggestions would be appreciated. I have a rexx script that parses some data.. And generates some output. This run in batch generates a qprint file. I've been doing a CPYSPLF to copy the file to a test library, and then download it to a unix system, where I can sort the darn thing, and continue with a rexx script on unix. I'd like to keep the whole thing on the 400, so I can schedule it to run regularly. I guess I'd like to get the data into a database file where I can then SELECT with an ORDER BY clause. Any suggestions on getting the following looking data into a database? "R12345","10/30/2003","10:20:15", etc.. (comma separated values format). "R12346","10/30/2003","..... Thanks..
As an Amazon Associate we earn from qualifying purchases.
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.