LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 10 Apr 2002 15:45:24 -0400
Reply-To:     "Fehd, Ronald J." <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J." <rjf2@CDC.GOV>
Subject:      Re: Several base SAS noob questions
Comments: cc: "Fay, Richard M. (Mike)" <rmf4@cdc.gov>
Content-Type: text/plain

> From: Mike Fay [mailto:rmf4@CDC.GOV] > 2) I'm QAing a largish SAS app. It walks through a number of datasets, > making new datasets (usually subsets) and tacking a new field > or three onto > the 'end' of the new subsets. By default, the new fields show > up to the far > right (in SAS's dataset viewer applet), which means I'm constantly > scrolling to the far right to view what's of most interest to me.

I recommend using attrib however, length will also work for this what you are doing is declaring the new vars before SAS Supervisor reads the data descriptor of the old data set.

DATA NEW; attrib NewVar1 length = <$> 8 NewVar2 length = <$> 8 ; set OLD;

Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov


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