BookmarkSubscribeRSS Feed
touwen_k
Quartz | Level 8

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
Quartz | Level 8
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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

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