search cancel

How to obtain the name of the rule that is running?

book

Article ID: 202710

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Is there a method to obtain the rule name when executing a rule?

Environment

Release : 13.5

Component : OPS/MVS

Resolution

A possible solution is to use the OPSINFO function:

rulename = OPSINFO('MAINPGM')

See reference to OPSINFO in the link below:

OPSINFO Function