Loading...
Searching...
No Matches
getdata.test.1.sas File Reference

testing getdata row and cell limits More...

Go to the source code of this file.

Detailed Description

The EDIT screen is bounded by two limits - rows (DC_MAXOBS_WEBEDIT) and cells, rows x columns (DC_MAXCELLS_WEBEDIT) - whichever is reached first. A selection over either is SERVED TRUNCATED: the grid gets the first rows that fit, and sasparams carries TRUNCATED=1 plus a TRUNC_MSG naming the limit, which the EDIT screen shows as a warning against the table name.

Test 1 uses MPE_X_TEST (several hundred rows, few columns) so the row limit alone decides the cap. Test 2 uses the fixture dctest.wideboy (1000 rows x 1004 columns, created and registered by testsetup) filtered to 200 rows: that is under the row limit but 200 x 1004 = 200,800 cells, over the 200,000 cell limit, so the cell limit decides the cap - floor(200000 / 1004) = 199 rows. It also checks the column list is whole: the cap applies to the rows the browser is sent, never to the COLS metadata.

SAS Macros

@sasjslint {"maxLineLength": 86}

Definition in file getdata.test.1.sas.