Chapter Contents


SAS Component Language: Reference

Designating Submit Blocks

In SCL programs, you designate statements to be submitted to SAS software for processing by placing them in submit blocks. A submit block begins with a SUBMIT statement, ends with an ENDSUBMIT statement, and consists of all the statements in between. The following statements illustrate these characteristics:

SUBMIT;  [1]
   proc print data=work.data1;  [2]
      var a b c;     [2]
endsubmit;   [3]
  1. The SUBMIT statement starts the submit block.

  2. These statements are submitted to SAS software when the program executes.

  3. The ENDSUBMIT statement ends the submit block.

For details, see SUBMIT.

Chapter Contents



Top of Page

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