| Date: | Mon, 17 Jun 2002 13:21:07 -0400 |
| Reply-To: | "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM> |
| Subject: | Re: Creating header row for .csv file |
|
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
Thanks for help from many. Since it turns out I was halfway down it, I
chose to continue down that ol' Peter Crawford trail.
> From: Peter Crawford [mailto:peter.crawford@db.com]
> I might have been able to be more helpful, last time,
> but you only asked about data.... without the headers !!<g>
Ah, so it was you! I thought the put (_all_) (:) looked like your style!
> You would also use this double depth quote() when placing
> variable labels as headers.
That's the trick I was looking for. I added a user parameter to grab the
labels instead of variable names.
> There are always work-arounds !!!
> quote _all_ character variables with
> format _character_ $quote30000. ;
> or quote _all_ columns output with
> put (_all_)(~) ;
Thanks very much for the help, Peter. One last question... where can I find
docs on such constructs as put (_all_)(~)? I had never seen them until this
thread, I'd like to learn more about them.
-Brad
|