SAS Component Language Dictionary |
Ends statements to be submitted to SAS software for execution
The ENDSUBMIT statement marks the end
of a SUBMIT block in an SCL program. Use ENDSUBMIT with SUBMIT to indicate
a block of SAS statements to submit to SAS software for execution.
The ENDSUBMIT statement instructs SCL to stop collecting
statements in the PREVIEW buffer and to submit the collected statements, based
on the options that were specified for the SUBMIT statement.
Use SUBMIT to invoke the PRINT procedure
and use ENDSUBMIT to mark the end of the SUBMIT block:
submit immediate;
data one;
do x=1 to 10;
output;
end;
run;
proc print;
run;
endsubmit;
SUBMIT
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.