Email alert variables are not resolving?

Document ID : KB000039785
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

Trying to create an email alert for an object access but %DSN% and %MEMBER% variables are not getting resolved when the email is generated.

 

Answer:

For an object access events, there is no 'member' or 'dsn' value, these are when used with the PDS monitor events. 

For object access, you have the variable ENTITY that *if* for a data set, will contain the data set name. If it was a resource, it'll be the resource name. 

 

If you also attach this email action to a PDS monitor statement, when it fires, it will have MEMBER and DSN filled in. 

 

The fact that the simulation shows %MEMBER% is telling you that for the selected event type, it's invalid.