LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 8 Mar 2000 18:09:20 +0100
Reply-To:     detecsm_hellriegelg@WESTLB.DE
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gehard Hellriegel <detecsm_hellriegelg@WESTLB.DE>
Subject:      Re: SAS System Viewer (6.12) gives wrong var. length
Content-type: multipart/mixed;
              Boundary="0__=zieEXNjhV6GUv9LHl4RVBg5u0byETFRinBAAeATrpyfF9trYVFZJhs0U"

Very strange! I run this under Win NT, SAS 6.12, TS 060

data test; length a $6; a="slkjfdlksdfjlkj "; format a $5.; output; run;

proc contents data=work.test; run;

-----Alphabetic List of Variables and Attributes-----

# Variable Type Len Pos Format ????????????????????????????????????????????? 1 A Char 6 0

$5.

You see, the Len of the variable a is 6! Could you tell us, what code you are using?

Tom Frenkel <taf2@IS8.NYU.EDU> on 08.03.2000 17:17:38

Bitte antworten an Tom Frenkel <taf2@IS8.NYU.EDU>

An: SAS-L@LISTSERV.UGA.EDU Kopie: (Blindkopie: DeTeCSM HellriegelG/D/ExternalStaff/WLB) Thema: SAS System Viewer (6.12) gives wrong var. length


To SAS-L:

I have a SAS dataset with a character variable of length 6, and formatted as $5. When I look at this dataset with the SAS System Viewer, and go into "Edit - Properties - Variables", it shows the length of this variable to be not 6, but 5! This would certainly seem to be a bug. Has anyone else noticed this strange behavior? Would anyone have a reasonable explanation for this? I'm using version 6.12, under Win NT 4.0. Thanks!

--Tom Tom Frenkel <taf2@is8.nyu.edu> http://pages.nyu.edu/~taf2

Mit freundlichen Gruessen

DeTeCSM, Gerhard Hellriegel

WestLB Abteilung: 001-80622 Aderstr. 22 D - 40217 Duesseldorf Tel.: +49211 826 6173 Fax: +49211 826 5393


Back to: Top of message | Previous page | Main SAS-L page