Previous Page | Next Page

SAS Component Language Dictionary

ENDSUBMIT



Ends statements to be submitted to SAS software for execution
Category: Submit Block

Syntax
Details
Example
See Also

Syntax

ENDSUBMIT;


Details

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.


Example

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;


See Also

SUBMIT

Previous Page | Next Page | Top of Page