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 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 26 Sep 2002 12:18:12 -0400
Reply-To:     Huck <huck@FINN.NOSPAM.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Huck <huck@FINN.NOSPAM.COM>
Organization: Posted via Supernews, http://www.supernews.com
Subject:      Re: ENDIT:
Content-Type: text/plain; charset=us-ascii

On Thu, 26 Sep 2002 15:43:27 GMT, "Andre' L. Micheaux" <andre.micheaux@att.net> wrote:

>I am reviewing some old SAS code and have come across ENDIT: > >I do not see this in the SAS Reference book version 6. > >What is this, and do I really need it: I always end a DATA step with RUN ;

here is a hint GOTO ENDIT; the clue is the : which you will find documented.

but im kinda surprised there wasnt an error, i always code my lables as

ENDIT:; (notice the semi) to hang the lable onto a "null statement" to make it easier to move around. i thought lables had to be associated with a statment, and your references makes it seem as if it were the last chars of the datastep.

instead of an endit you may find references like eof= on and infile statment, or header= on a file statment. these are implicit gotos on internal states.

> >Andre' >


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