|
|||
|
As far as I know, PROC IMPORT does not provide a way to introduce header
information which does not appear in the source file. Also, as discussed in a recent thread here, PROC IMPORT for some reason does not accept data set options on the output side. So I think that leaves you with a two-step approach. First, run PROC IMPORT and just accept the header information it generates by default. Then use PROC DATASETS to introduce your variable names and labels. But I remain curious about this HEADER= statement. Can you point to any documentation for it, or usage examples? On Wed, 13 Jul 2005 01:19:08 -0700, yahoo.com">dana201052@yahoo.com <dana201052@YAHOO.COM> wrote: >currently there is not a header rows so I need to add a header row with >the import. Thanks, >Dana On Tue, 12 Jul 2005 19:48:41 -0700, yahoo.com">dana201052@yahoo.com <dana201052@YAHOO.COM> wrote: >Hello, > >I've been trying to import a file while inputing headers. I keep >getting an out of proper order error when I use the 'header=x; y: z; > >The code is below without the header command. Any assistance would be >greatly appreciated. > >proc import datafile = 'C:\1995.*' >out = SE1995 DBMS=DLM REPLACE; >GETNAMES=no; >DELIMITER=':'; >run; > >Dana |
|
|
||||
|
||||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: multicollinearity in proc logistic | Bora Yavuz | Newsgroup comp.soft-sys.sas | 0 | 11-21-2006 02:02 PM |
| Re: SAS Tips From SAS-L Archives January 1996 to May 2006 | Terjeson, Mark | Newsgroup comp.soft-sys.sas | 0 | 06-21-2006 04:00 PM |
| Re: HOW DO I SEPARATE SEVERAL PROC IMPORTS? | toby dunn | Newsgroup comp.soft-sys.sas | 0 | 05-18-2006 04:22 PM |
| HOW DO I SEPARATE SEVERAL PROC IMPORTS? | Paul St Louis | Newsgroup comp.soft-sys.sas | 0 | 05-18-2006 04:15 PM |
| Re: Proc Summary vs. Means run times | Bosch, Jules | Newsgroup comp.soft-sys.sas | 0 | 12-14-2004 01:57 PM |