Hi,
I have figured out:
get snapshot for database SAMPLE
If output of above command is "No data was returned by Database System Monitor" the database is deactivated. If command returns some data, then there is one of the row is: "Database Status = Active"
Any comment?
Grofaty