Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 4. Calling SAS Procedures > 4.2 Calling a SAS Procedure from IMLPlus

4.2 Calling a SAS Procedure from IMLPlus

When you run an IMLPlus program in SAS/IML Studio, the IMLPlus interpreter knows how to make sense of two kinds of statements: SAS/IML statements and IMLPlus statements. IMLPlus statements are extensions to the SAS/IML language that run in SAS/IML Studio. This section introduces two IMLPlus statements: the SUBMIT statement and the ENDSUBMIT statement.

SAS/IML Studio executes some IMLPlus statements (such as graphics commands) on the client PC, and sends the other statements to the SAS Workspace Server for execution. Statements sent to the SAS Workspace Server are assumed to be "pure" SAS/IML statements. If you want to execute a global statement (for example, an ODS, OPTIONS, or macro statement) or run a SAS procedure or DATA step, you need to precede the SAS statements with a SUBMIT statement and follow them with an ENDSUBMIT statement. The statements from the SUBMIT statement to the ENDSUBMIT statement are collectively referred to as a SUBMIT block.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial