BookmarkSubscribeRSS Feed
touwen_k
Pyrite | Level 9

Dear SAS community,

 

I would like to know how to use MAXTABLEMEM in a code in SAS Studio in SAS Viya, I was trying  like that :

 

cas mySession sessopts=( caslib=casuser timeout=1800 locale="en_US" MAXTABLemem=8G);

 

But it gives error:

ERROR: The syntax for CASSESSOPTS requires specification of one or more name=value combinations. The entire set of combinations
must be within parenthesis.

 

Pls advise.

 

Karolina

2 REPLIES 2
jklaverstijn
Rhodochrosite | Level 12

Not in a position to test right away, but what about enclosing the alphanumerical values in quotes?

 

cas mySession sessopts=( caslib="casuser" timeout=1800 locale="en_US" MAXTABLemem="8G");

regards,

- Jan.

touwen_k
Pyrite | Level 9
Thank you, then cas accepts it. However when running this code below for different MAXTABLemem, I do not have a different number of blocks. Therefore I do not know if cas is really changing the size of the blocks.

proc cas;
session casauto;

/* Load source data (IRIS) into a table. */
table.loadTable /
path="iris.sashdat"
casout={name="iris"};
run;

table.tableInfo / table="iris";
table.tableDetails / table="iris";
quit;

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 842 views
  • 1 like
  • 2 in conversation