/***********************************************************************************/
/* Upload a dataset from SAS 9.4 to SAS Viya                                       */
/*                                                                                 */ 
/* This example uploads the sashelp.cars data set into a location where it can be  */
/* used within your Viya session.                                                  */
/*                                                                                 */
/* Before running this snippet, you must have already connected to your Viya       */
/* session.  You can make this connection using the Connect to Viya snippet or     */
/* task.  In addition, you must have already run code like that in the Create CAS  */
/* Engine libref.                                                                  */  
/*                                                                                 */
/* Fill in your value for the following parameter displayed within <> in           */
/* the code below:                                                                 */
/*    <cas_engine_libref>: Name of the SAS libref for CAS. e.g. mycas              */
/***********************************************************************************/

rsubmit;
proc upload data=sashelp.cars out=<cas_engine_libref>.cars status=no;
run;
endrsubmit;

