Go Back   Rhinocerus > Newsgroup > Newsgroup comp.soft-sys.sas

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-13-2005, 12:40 PM
nospam@HOWLES.COM (Howard Schreier
Guest
 
Posts: n/a
Default Re: inputing a header with a proc import

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

Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


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



All times are GMT. The time now is 06:27 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.