For the latest version of JMP Help, visit JMP.com/help.

Scripting Guide > Extending JMP > Communicate with SAS Cloud Analytic Services > Create and Submit a CAS DATA Step Action
Publication date: 09/28/2021

Create and Submit a CAS DATA Step Action

New CAS DATA Step action( Code( code ) );

code defines the contents of the DATA step. Action is the JSL variable name.

cas = Current CAS Connection();
code =
"\[
	data temp;
	x = 9.1; y = 6; z = sqrt(x**2 + y**2);
	A = "SAS"; B = "Statistics";
	put _ALL_;              /* display all variables and values */
	run;
]\";
action = New CAS DATA Step action( Code( code ) );
cas << Submit( action );
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).