Help using Base SAS procedures

Proc Export

Reply
Frequent Contributor
Frequent Contributor
Posts: 83

Proc Export

Hello all,

I know this has been covered here in the past but the solutions offered are not working for me so I will broach the topic again. ()

I'm trying to export label names to an excel file and I can't get the names to export, I keep getting the variable name. It's quite frustrating. Here is the code:

proc export data = Ser_ref

outfile='C:\Documents and Settings\Desktop\sf.xls'

label dbms=excel replace;

sheet='2014';

run;

I appreciate any help, thanks in advance!

SAS Super FREQ
Posts: 8,866

Re: Proc Export

Hi:

  If the posted solutions are not working, then it's best to work with Tech Support. They can collect all the information they need, like your version of SAS, bitness (32/64) of SAS and Office, whether you have SAS/Access for PC Files installed and try to replicate that the posted code doesn't work.

cynthia

Occasional Contributor
Posts: 9

Re: Proc Export

Posted in reply to Cynthia_sas

"bitness"? learn a new word every day... Smiley HappySmiley HappySmiley Happy

Super User
Super User
Posts: 7,968

Re: Proc Export

As an alternative, why not use:

ods tagsets.execlxp file="....xls" options=(sheet_name="...");

proc report data=...

run;

ods tagset close;

You can specify labels, filter, zoom and lots of other nice items.

Ask a Question
Discussion stats
  • 3 replies
  • 267 views
  • 0 likes
  • 4 in conversation