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 (June 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 2 Jun 2006 13:05:18 -0700
Reply-To:     chandu.isi@GMAIL.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         chandu.isi@GMAIL.COM
Organization: http://groups.google.com
Subject:      Surprise about the observation length
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

I have to surprised by seeing this about observation length

I got the following output from the below program.

My question is why it is showing observation length 24( for all 3 vars) even after the variable X length is reduced to 5 ? or Am I missing something?

Thanks in advance Chandu.

The CONTENTS Procedure

Observations: 5 Variables: 3 Indexes: 0 Observation Length: 24 Deleted Observations: 0 Compressed: NO Sorted: NO

data test; input x y; cards; 1 2 1 3 1 4 1 5 1 6 2 1 2 2 2 3 2 4 2 5 ; run;

data test1; length x 5; set test; if x > 1; z = x; run;

proc contents data=test1; run;


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