Date: Tue, 10 Oct 2006 06:06:07 -0400
Reply-To: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject: Re: To find the alignment of semicolon for checking SAS coding
I don't understand, what your problem is. You have (your own) standards for
SAS code? Now you want to check your sources, if they fit to your standards?
What are that standards? What about the results of that test? Do you
rearrange the statements, or simply protocol?
Please tell more.
On Tue, 10 Oct 2006 02:23:24 -0700, Jenny <thenmozhi_raji@YAHOO.COM> wrote:
>Inorder to verify the SAS coding , how to find and compare the position
>of semicolon and the corresponding SAS statements
>ie how to check whether the position of semicolon and is properly
>aligned with respect to DATA statement.
> IF VAR1 EQ 1 THEN DO
> VAR2 = VAR2 + 1;
> FLAG = 1;
> IF VAR1 NE 1 THEN
> PUT 'A = ' VAR1
> PUT 'A = ' VAR2