CA PIM all versions: How to configure warning to all rules in certain class

Document ID : KB000069619
Last Modified Date : 22/08/2018
Show Technical Document Details
Question:
How to configure warning mode to all rules for certain class?
 
Environment:
CA PIM all versions
Answer:
You can configure warning mode on class level by enabling W flag on certain class using setoptions command in selang.
You can disable class level warning by disabling W flag on class.
You can check the classes that class level warning is configured also using setoptions command in selang.

enable class level warning on FILE class:
AC> setoptions class(FILE) flags+(W)

disable class level warning on FILE class:
AC> setoptions class(FILE) flags-(W)

check classes with class level warning:
AC> setoptions cwarnlist
Data for CA ControlMinder options
-----------------------------------------------------------
FILE              : Yes