Example 3

Write the same three lines as in the previous examples, but with the carriage control characters being passed to ISPF.

In preparation, set dialog variable LSTTEXT to the value:
   '1Line 10Line 20Line 3'
The characters '1' and '0' preceding the word 'Line' in LSTTEXT are carriage control characters for page eject and double space respectively.
Then issue:
ISPEXEC LIST BUFNAME(LSTTEXT) LINELEN(7) CC

or alternately

Set variable LEN to 7 and issue:
CALL ISPLINK ('LIST    ','LSTTEXT ',LEN,' ',' ',' ','CC      ');
Note that the line-length value has been increased by one to account for the carriage control byte.