| Date: | Fri, 1 Sep 2006 10:28:52 +0200 |
| Reply-To: | Andre Wielki <wielki@INED.FR> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Andre Wielki <wielki@INED.FR> |
| Subject: | Re: Question for xport |
|
| In-Reply-To: | <20060831220927.55229.qmail@web50311.mail.yahoo.com> |
| Content-Type: | text/plain; charset=ISO-8859-1; format=flowed |
df ss,
if you are constraint to maintain the variable name,
then don't use the cport!
The question is what's your goal
- having the same sas table on another system
then use the proc cport/ moving of the file/ proc cimport sequence
- importing a sas table into anothe soft
depending of which soft ?
spss in 9.1.3 sp4 proc export or direct opening in spss >v12
stata idem or cport
others cport
so are the cport unique solution really accepting so long variable name
the solution is the renaming of the variable into more significative name
but not excessing 8 positions if you need to use the cport solution
HTH
Andre
df ss a écrit :
> Hi all,
> I'm running the program below under SAS v9.1.3:
> libname xportout xport 'abc';
> data xportout.abc;
> set work.temp;
> run;
> I got an error message:
> ERROR: The variable name a12345678901234 is illegal for the version 6 file XPORTOUT.abc.DATA.
> I know the v6 is not support that long field's name. But since I need to keep the field's name as it is, how should I do?
> Thanks a lot
> dd sf
>
>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
>
>
--
Andre Wielki
INED (Institut National d'Etudes Démographiques)
133 Boulevard Davout 75980 Paris Cedex 20
33 (0) 1 56 06 21 54 FRANCE
|