Issue with EOJ rule When BPXAS task is spawned
search cancel

Issue with EOJ rule When BPXAS task is spawned

book

Article ID: 204741

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

We have created an EOJ rule which is for a started task. The started task has  10 Steps in total and one step calls PGM BPXBATCH (calling USS).  Apparently when this step runs the following message is issued:

BPXP024I BPXAS INITIATOR STARTED ON BEHALF OF JOB xxxxxxx

The EOJ rule is being fired when this BPXAS task finishes so there is a duplicate EOJ event.

Environment

Release : 13.5 14.0

Component : OPS/MVS

Resolution

The EOJ events generated by the BPXAS tasks are generated with subsystem OMVS.

So you can include at the beginning of your EOS rule a test to ignore this type of event:

)EOJ XXXX
)PROC

if EOJ.SUBSYS = 'OMVS' then return