Display the JOBNAME of the WTO issuing JOB in the ADDRESS WTO
search cancel

Display the JOBNAME of the WTO issuing JOB in the ADDRESS WTO

book

Article ID: 277474

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

The JOBNAME of the WTO-issued JOB is displayed using &ZMSGJOBNM in SOLVE:Operations.

Is it possible for OPSMVS to display the JOBNAME of the JOB that issued the WTO using the ADDRESS WTO in )MSG rules?

Environment

OS : z/OS

Product : OPS/MVS Event Management & Automation

Release : All

Component : OPSMVS

Resolution

The JOBNAME of the JOB that issued the WTO is stored in msg.jobname for AOF Variables.

It can be used in the ADDRESS WTO for )MSG rules.

 

<Reference>
The following example shows msg.jobname specified in the ADDRESS WTO in the )MSG Rule .

)MSG xxxxxxxx
)PROC

ADDRESS "WTO",
"TEXT('**JOBNAME* "msg.jobname" ') "
ADDRESS "WTO",
"TEXT('**JOBNM*** "msg.jobnm" ') "
ADDRESS "WTO",
"TEXT('**JOBNID** "msg.jobid" ') "

say 'Jobname : ' msg.jobname
say 'Jobnm : ' msg.jobnm
say 'Jobid : ' msg.jobid

return