| Date: | Sat, 20 Dec 2003 01:53:11 -0000 |
| Reply-To: | Roland <roland@RASHLEIGH-BERRY.FSNET.CO.UK> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Roland <roland@RASHLEIGH-BERRY.FSNET.CO.UK> |
| Organization: | Universe Monitors |
| Subject: | Re: Does a system command (x 'cat file1.dat file2.dat >
file1_2.dat') work in a sas program file??? |
|---|
Why not try it and see?
"Duck-Hye Yang" <dyang@CHAPINHALL.ORG> wrote in message
news:sfe31546.098@eden.chapinhall.org...
> Hello,
> I wonder if I can insert a system command in a sas program file???
> I want to concatenate two files generated after the following code.
> Is that possible to insert a system command (x 'cat file1.dat file2.dat >
file1_2.dat') after the following code?
>
> Thanks.
> Duckhye
> -----------------------------
> data _NULL_;
> set std;
> FILE 'file1.dat';
> PUT
> FNAME $12.
> MNAME $8.
> LNAME $15.
> ;
> run;
>
> data _NULL_;
> set std;
> FILE 'file2.dat';
> PUT
> FNAME $12.
> MNAME $8.
> LNAME $15.
> ;
> run;
|