In z/OS, can you write a message to another job’s job log?

15 pts.
Tags:
Display Job Log
Joblog
z/OS
z/OS configuration
I've got several situations where I'd like a program (e.g. a batch program) to be able to write a message in another job's job log (e.g. to a CICS region saying "I've just set application ABC into overnight mode" or some such). I don't recall seeing this feature anywhere and have been through the Assembler macros manual and JES2 macros, as well as doing a bit of general forum searching, and haven't been able to find anything yet.  The authorized form of the WTO macro does allow JOBNAME and JOBID parameters but these seem to be simply for message identification as far as I can tell, not for actual routing to another address space's job log. Does anyone have any idea if this is possible?  Thanks in advance for any suggestions.

Software/Hardware used:
z/OS 1.11 on IBM zSeries

Answer Wiki

Thanks. We'll let you know when a new response is added.

Interesting question.
I’m unaware of the ability you ask for.

WTO is Write To Operator – it goes to the console.
WTOR is Write To Operator with Reply – it goes to the console and stays on the console until the operator responds to it. (It can be a “dummy” response).

the TSO SEND command will allow you to send a message to another TSO userid. I’ve never tried it sending to a batch job (or a STC).

Batch jobs might be able to send an email.

Please let me know if you find a way to do this.

Steve

——

I just found this exact discussion on the IBM_MAIN list server. I’ll bet its you. But for any others interested here is the URL.

* Send message to another job’s joblog – 5 new

http://groups.google.com/group/bit.listserv.ibm-main/t/83d7cc473b0e2baf?hl=en

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Is there a reason you tagged this with AS/400 job logs and iSeries job logs? Those have no connection to z/OS (except all come from IBM). It's technically possible on AS/400s and iSeries, but I can only guess if it's possible under z/OS. I would assume that someone very knowledgeable about z/OS internals would know how it could be done. Tom
    125,585 pointsBadges:
    report
  • Jamesp33
    Thanks very much for the responses. To Steve: I should have clarified that I was looking for the equivalent of a WTO with route code 11 directed to another address space. You're correct, I did also post this on IBM_MAIN, and the answer so far seem to be that you could schedule an SRB to the target address space, which would then have to schedule an IRB which would in turn issue an SVC-style WTO. The other alternative I had thought of was trying to programatically issue a "$dm" JES2 command, but this message does not seem to actually appear on the job log until some other message (any message) has been issued by the target address space. To Tom: I didn't realise I'd managed to tag this as AS/400 and iSeries - it's definitely only meant as a z/OS question. Put it down to a newbie error I'm afraid - sorry about that. James
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following