The scalar and compound data types may be combined into arrays as follows:
Description |
Example |
---|---|
Fixed arrays of scalars |
MAP1 SALES(25),F,6 |
Fixed compound arrays |
MAP1 CUST(10) |
ECOUNT = 1000 |
|
dimx CUSRECS(50),ST_CUST ! array of 50 ST_CUST structures ? CUSRECS(25).CUSNO ! element.member notation |
|
Dynamic auto-extended arrays; may be either scalar or structure types |
dimx CUSRECS(0),ST_CUST,auto_extend |
dimx $JSONDOC, mlist(varstr) ! JSON doc stored as multi-level list |
Subtopics