calls SAS procedures, DATA steps, or macros. You can also use the R option to call functions in the R language.
defines a block of submitted statements. All statements between the SUBMIT and ENDSUBMIT statements are sent to the SAS System or R for processing.
transfers data from a SAS data set into an R data frame
transfers data from a SAS/IML matrix into an R matrix
transfers data from a matrix or data frame into a SAS data set
transfers data from a matrix or data frame into a SAS/IML matrix