John McKown wrote: >I don't want to send a message to a TSO user. I just would like one in the JES messages of the job so that the submittor will know why it got a JCL error.
Check in SYS1.PARMLIB(CONSOLxx) for ROUTCODE and then code your WTO statements in IEFUJI according to it. We have ROUTCODE(ALL) in DEFAULT and I have used in IEFUJI this working part: I use this WTO statement in GETMAINed memory: WTO WTO TEXT=,MF=L In IEFUJI CSECT this example: LA R4,MSG LOAD R4 WITH MSG LENGTH + MSG LA R5,WTO ADDRESS OF WTO INSIDE GETMAINED AREA WTO TEXT=(R4),MF=(E,(R5)) WTO 'Blah blah ...' Both these two WTOs will shown in JES messages and also in SYSLOG. HTH! Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

