diff --git a/sas/sasjs/db/migrations/20261003_row_and_cell_limits.sas b/sas/sasjs/db/migrations/20261003_row_and_cell_limits.sas index a679022..c332bd3 100644 --- a/sas/sasjs/db/migrations/20261003_row_and_cell_limits.sas +++ b/sas/sasjs/db/migrations/20261003_row_and_cell_limits.sas @@ -97,6 +97,10 @@ quit; set tx_to=&now where var_name='DC_MAXCELLS_WEBEDIT' and var_active=1 and &now lt tx_to; + /* Why the cell limit exists, kept out of var_desc - MPE_CONFIG.VAR_DESC + is varchar(300), and a truncation WARNING aborts the build. A wide + table is expensive long before it is tall - 250 rows of a 1000 column + table is a quarter of a million cells. */ insert into &dclib..mpe_config set tx_from=&now ,tx_to='31DEC9999:23:59:59'dt @@ -106,10 +110,8 @@ quit; ,var_active=1 ,var_desc='This sets the maximum number of CELLS (rows multiplied by' !!' columns) that can be loaded into the browser for editing in the' - !!' EDIT screen. It exists because a wide table is expensive long' - !!' before it is tall - 250 rows of a 1000 column table is a quarter' - !!' of a million cells. Whichever of this and DC_MAXOBS_WEBEDIT is' - !!' reached first applies.'; + !!' EDIT screen. Whichever of this and DC_MAXOBS_WEBEDIT is reached' + !!' first applies.'; quit; %end; %else %do; diff --git a/sas/sasjs/macros/mpe_makedata.sas b/sas/sasjs/macros/mpe_makedata.sas index 8cd33f7..5416c93 100644 --- a/sas/sasjs/macros/mpe_makedata.sas +++ b/sas/sasjs/macros/mpe_makedata.sas @@ -79,6 +79,10 @@ insert into &lib..mpe_config set !!' will require a decent browser (ie, not IE) and more memory on the' !!' client side. The DC_MAXCELLS_WEBEDIT limit is applied at the same' !!' time, whichever is reached first.'; +/* Why the cell limit exists, kept out of var_desc - MPE_CONFIG.VAR_DESC is + varchar(300), and a truncation WARNING aborts this whole build. A wide + table is expensive long before it is tall - 250 rows of a 1000 column + table is a quarter of a million cells. */ insert into &lib..mpe_config set tx_from=0 ,tx_to='31DEC9999:23:59:59'dt @@ -88,9 +92,7 @@ insert into &lib..mpe_config set ,var_active=1 ,var_desc='This sets the maximum number of CELLS (rows multiplied by' !!' columns) that can be loaded into the browser for editing in the EDIT' - !!' screen. It exists because a wide table is expensive long before it' - !!' is tall - 250 rows of a 1000 column table is a quarter of a million' - !!' cells. Whichever of this and DC_MAXOBS_WEBEDIT is reached first' + !!' screen. Whichever of this and DC_MAXOBS_WEBEDIT is reached first' !!' applies.'; insert into &lib..mpe_config set tx_from=0