/************************************************************************************/
/* List CAS Table Contents.                                                         */
/*                                                                                  */
/* The snippet named List CAS Tables lists all of your tables.  This snippet lists  */
/* information about a particular CAS table.                                        */
/*                                                                                  */
/* 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.                                                                            */
/*                                                                                  */   
/* Fill in your value for the following parameter displayed within <> in            */  
/* the code below:                                                                  */
/*   <caslib>: Name of caslib. e.g. CASUSER                                         */
/*   <cas_table>: Name of your CAS table                                            */
/************************************************************************************/ 

%_Get_Studio_SubmissionID_;
rsubmit;

/* Set the ODS parameters on the SAS Viya host */
%_Begin_Viya_ODS_();

proc casutil incaslib="<caslib>";
	contents casdata="<cas_table>";
run;

/* Download the ODS outputs from the SAS Viya host to SAS 9.4 */
%_End_Viya_ODS_;
endrsubmit;



