Eliminate line limit of 1000 lines
Brought to you by:
rexx
When executing a macro on a large file (26,900 lines), the script stops with a "line limit (1000) exceeded". Why is such a limit imposed, never had this issue with large files in XEDIT on an IBM mainframe. I could change the script to start at a new location, but I would have to run it 20-25 times to complete the task, which is not acceptable to me. The script is simply joining lines until they are 132 characters each as they contain extraneous CRLF in them.
The line limit applies to the number of lines of output from the Rexx macro as a result of SAY and TRACE output; not the size of the file. These lines are captured by THE to be displayed in a separate "file" in the ring.
THE macros in general shouldn't use SAY or TRACE output to interact with the user unless they are debugging the macro. And in the case of debugging, the line limit is to prevent THE from being stuck in an infinite loop as a result of an incorrect macro.
Forgot to add that you can change the limit and where the output goes: SET REXXOUTPUT File|Display 9999