Re: Still have issue with not able to use Scratch LV tapes

2020-03-26 Thread Steven Harris
I've seen this sort of issue if the addressablity of the drive is wrong, e.g. logical drive 1 has physical drive 2 address. So library mounts tape in drive 1 but instance tries to read label in drive 2 and fails, marks the tape as unavailable and then works its way through all the scratch tapes. T

R: [ADSM-L] Combining SQL queries

2020-03-26 Thread Tommaso Bollini
I need to use different syntax from the one of Eric, like: select * from (select count(*) as "Number_Of_Failed" from events where scheduled_start>current_timestamp-24 hours and status='Failed') as failed, (select count(*) as "Number_Of_Missed" from events where scheduled_start>current_timestam

Re: Combining SQL queries

2020-03-26 Thread Skylar Thompson
Hi Eric, You can combine these two queries by executing them as subqueries: select * from ( select count(*) as "Number_Of_Failed" from events where scheduled_start>current_timestamp-24 hours and status='Failed' ) failed, ( select count(*) as "Number_Of_Missed" from events where schedul

Re: Combining SQL queries

2020-03-26 Thread David Bronder
Something like this (name columns as desired): select status, count(*) from events - where scheduled_start>current_timestamp-24 hours and - ( status='Failed' or status='Missed' ) - group by status On 3/26/20 10:51 AM, Loon, Eric van (ITOP NS) - KLM wrote: > Hi guys, > > I have two SQL

Combining SQL queries

2020-03-26 Thread Loon, Eric van (ITOP NS) - KLM
Hi guys, I have two SQL queries: select count(*) as "Number_Of_Failed" from events where scheduled_start>current_timestamp-24 hours and status='Failed' select count(*) as "Number_Of_Missed" from events where scheduled_start>current_timestamp-24 hours and status='Missed' Is it somehow possible

Re: Error in OC for device class

2020-03-26 Thread Loon, Eric van (ITOP NS) - KLM
Hi Erwann, Yes, that's indeed what I discovered too. When I issue the command q monitorstatus status=error, the error status trigger which SPOC uses is displayed. In my case: Server Name Activity DateActivity NameElement Name Element Element String Element State