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"
>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
but im kinda surprised there wasnt an error, i always code my lables
(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