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 (September 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 1 Sep 2005 10:29:08 -0500
Reply-To:     Gregg Snell <gsnell@DATASAVANTCONSULTING.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gregg Snell <gsnell@DATASAVANTCONSULTING.COM>
Organization: Data Savant Consulting
Subject:      Re: FIRST dot Processing
In-Reply-To:  <A3D5552AD7F7BB4A978B8B4A376775F505B8B5CE@na1ecm60.dearborn.ford.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Carol,

Presuming your data is sorted or indexed by NAME and you are using a DATA step with BY processing on NAME, then I would suspect you have overlooked the need to RETAIN GBs until output time which, by the way, should only be at LAST.NAME. So, you might want to research the RETAIN statement. Another interesting documentation read would be PROC SUMMARY.

Regards,

Gregg Snell

Srna, Carol (C.) wrote:

>Sorry about that. >See scenario below. > > > > >>From: Srna, Carol (C.) >>Sent: Thursday, September 01, 2005 10:35 AM >>To: 'SAS-L@LISTSERV.UGA.EDU' >>Subject: FIRST dot Processing >> >>Morning All. >> >>This is what I have. >> >>A number of datasets, some of them with the same name: >> >>DATASET NAME Blksize >>Blkcount >> >> >AFOPER.IRM.BACKUP.G0001V00 0000000000 000000772 >CAITBIL.TERADATA.ITBARC.NOV0904 0000031720 000004353 >CAITBIL.TERADATA.ITBARC.NOV0904 0000031720 000004359 >CAITBIL.TERADATA.ITBARC.NOV0904 0000031720 000004263 > > >> >> >> >> >If the dataset has the same name I only want one occurrence of the name, >BUT I want the total of the # of Gbs for that name. > >Bytes=BLKSIZE*BLKCNT; >GBs=Bytes/1024/1024/1024; > >I've got the FIRST. Processing started, but my calculations are wrong. > >Any help is appreciated. >TIA > > > >


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