LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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;


Back to: Top of message | Previous page | Main SAS-L page