zMan wrote: >Assembler program, running in Batch, wants to write a message to the job log. >I'm doing WTO with ROUTCDE=11, which puts the message in the JESMSGLG. Is that >my only real option? Seems like it should be easy to write to SYSPRINT, but I >can't find a way to do that!
Neither me, but I have a quick look at those ROUTCDE and DESC for WTO/WTL without any success. So it seemed that you should follow Anthony's suggestion. Anthony Thompson wrote: >WTO doesn't write to SYSPRINT. Use normal OPEN - WRITE/PUT - CLOSE to the >SYSPRINT DCB processing. This is also what I do. WTO is a lazy way to write something without all those OPEN/WRITE/PUT/CLOSE macros. ;-) John McKown wrote: >Use COBOL and do a DISPLAY ... UPON SYSOUT? <GRIN> Functionally the same [ sort of ] as WTO. ;-) >If you want to do I/O to a "sysprint" DD, then OPEN/PUT/CLOSE with a DCB is >your only real option. Indeed. >Well, I lied. So late in this year 2013? :-D :-D :-D >If you write LE enabled HLASM, then you _might_ be able to use the CEEMOUT LE >subroutine to write a message to the LE message file (normally SYSPRINT DD). That is if zMan can use LE in his programs. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
