LIST-SPREAD
Generates an English listing in the same way as LIST. However, instead of putting spaces between columns, tab characters are inserted and output is not paged.
Syntax
As for LIST.
Comment
LIST-SPREAD is intended to supply easily-parsable output when used to PERFORM an ENGLISH statement. The tab-separated, columnar format may also be directly imported into a spreadsheet when used in a "reality -c 'LIST-SPREAD …' " form.
SORT-SPREAD is similar but sorts items into item-id order (like SORT).
Example
PERFORM "LIST-SPREAD USERS" CAPTURING OUT OUT = CHANGE(OUT, CHAR(09), @VM) USER.ID = OUT<4,1> USER.DESC = OUT<4,2> USER.ACCOUNT = OUT<4,3> PRINT USER.ID,USER.DESC,USER.ACCOUNT
may generate
DSPMON Despooler Monitor SYSPROG