Date: Tue, 11 Nov 2003 10:33:09 +0100
Reply-To: "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Subject: Re: how to merger external files not using X command in SAS
Content-Type: text/plain; charset="iso-8859-1"
Hi Leon,
Handling, merging, combining external (ascii) files, apparently not SAS datasets, is something you should do with the appropriate tool, i.e. not SAS, but DOS. DOS is started from SAS by the X command, the CALL SYSTEM command, or the %SYSEXEC macro call. But even better DOS is started from Windows directly by opening a DOS window and issuing the needed commands or starting a batch file doing it. This is the quickest way. Any other way, e.g. using SAS to read the ascii files and write them all to one output ascii file, is a roundabout way.
Regards - Jim.
--
. . . . . . . . . . . . . . . .
Jim Groeneveld, MSc.
Biostatistician
Science Team
Vitatron B.V.
Meander 1051
6825 MJ Arnhem
Tel: +31/0 26 376 7365
Fax: +31/0 26 376 7305
Jim.Groeneveld@Vitatron.com
www.vitatron.com
My computer has the solutions, I have the problems.
[common disclaimer]
-----Original Message-----
From: Leon [mailto:leonlyzhou@21CN.COM]
Sent: Tuesday, November 11, 2003 10:09
To: SAS-L@LISTSERV.UGA.EDU
Subject: how to merger external files not using X command in SAS
HI,
Does anybody have idea to merger some external files in SAS?
I know it is easy to use X command to copy files into one.
What about not using X command? Any different method?
Thank you!
|