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 2001, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 6 Jun 2001 09:37:52 -0700
Reply-To:     Andrew Bushmakin <abushmakin@ARGOSE.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Andrew Bushmakin <abushmakin@ARGOSE.COM>
Organization: http://groups.google.com/
Subject:      Re: Check a dataset for obs?
Content-Type: text/plain; charset=ISO-8859-1

Try this as the example:

Init:

Submit Continue; Data abc; a=1;output; a=2;output; a=3;output; Run; EndSubmit;

tableid=open('abc'); NumberOfObs=attrn(tableid,'NLOBS'); rc=close(tableid);

commandlist=makelist(); commandlist=insertc(commandlist,'There is ' || NumberOfObs || 'Observation.',1); command=messagebox(commandlist,'!','YN','My Message!'); commandlist=dellist(commandlist);

Return;

Andrew Bushmakin


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