On 10/24/26 07:28, David Meyer wrote:
> Is there a way to read an entire line from SYSIN into a character string
> variable without breaking the string into fields on space/tab/comma?
>
> Alternatively, is there a way find if the last-parsed input field ended
> with a carriage return, and therefore was the last field on the current
> input stream line?
>
From somewhere I got the L format item, which will read the complete rest of an input line.
get:proc options(main);
dcl s char(80) varying;
get edit(s)(L);
put skip list(s);
end get;