Chapter Contents

Previous

Next
ENDSAS

ENDSAS



Terminates a SAS job or session after the current DATA or PROC step executes

Valid: anywhere
Category: Program Control


Syntax
Without Arguments
Details
Comparisons
See Also

Syntax

ENDSAS ;

Without Arguments

The ENDSAS statement terminates a SAS job or session.


Details

ENDSAS is most useful in interactive or windowing sessions.

Note:   ENDSAS statements cannot be part of other statements such as IF-THEN statements.  [cautionend]


Comparisons

You can also terminate a SAS job or session by using the BYE or the ENDSAS command from any SAS window command line. For details, refer to the online help for SAS windows.

See Also

The macro variable SYSSTARTID in SAS Macro Language: Reference


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.