On 8/28/2020 4:37 PM, Gibney, Dave wrote:
How about with APIs available with E(JES)  :)  ?


Haha! Thanks Dave for pointing out (E)JES' API can be called from HLASM, COBOL, C/C++ and similar machine-speed languages (as well as REXX and Java). SDSF's is REXX and Java only.

In this case, I might suggest using any of SSI 80, SDSF, (E)JES, perhaps even IOF or others, to dynamically allocate the sysout needing to be split to an input DD of your choice (e.g., for SPOOL BROWSE).

Then dynamically allocate an output DD to sysout using TSO/E ALLOC or whatever.

Then, in a real, machine-speed program (not a REXX)...

1. OPEN both DDs, loop and copy records input -> output until the split
   separator is reached.
2. Once reached, CLOSE, re-allocate, and re-OPEN the output DD. Loop
   back to #1 above and continue as before until the next separator or
   EOF is reached.


--
Phoenix Software International
Edward E. Jaffe
831 Parkview Drive North
El Segundo, CA 90245
https://www.phoenixsoftware.com/


--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to