You can't, other than by pressing the Break key (probably Control-C). The only other option is to comment out the code that you don't want to run. The most general mothod is to put it inside a macro definition:
* Code that run goes here;
* Code that doesn't run goes here.;
There are some other methods, involving the submission of marked blocks of text, but they're not as easy to use.
Development Manager, Technical Group
METRICS Department, First Health
West Sacramento, California USA
>>> "Hoskins, Richard" <Richard.Hoskins@DOH.WA.GOV> 11/01/1999 11:54 am >>>
Then how does one end a SAS program without shutting SAS down completely,
that is, just stop processing?
From: Paul McDonald [mailto:paul_mcdonald@AMERITECH.NET]
Sent: Saturday, October 30, 1999 10:17 PM
Subject: Re: ENDSAS in PC SAS
Because when you use ENDSAS on PC, you are using DISPLAY MANAGER... it ENDS
When you use ENDSAS on MAINFRAME, you are submitting a BATCH job... it ENDS
Both times, it ENDS SAS. It's just that in DISPLAY MANAGER, you want your
SAS SESSION to remain open (normally) upon ending a program.