Scripting Guide > Extending JMP > Communicate with SAS Cloud Analytic Services > Create and Submit a CAS DATA Step Action
发布日期: 11/15/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 );
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).