AlanTLR
12 years agoLevel 5
Symantec OpsCenter Analytics Custom SQL Query Paging Not Populating
Hi all. I'm trying to create a custom SQL query to list all my scratchpool tapes, but it returns a result of over 300 results in 7 pages. The SQL is correct and gives the correct results in dbisqlc. In the GUI, the first page is correct, but when I click on all the other pages, they have the same content, plus a few extra lines.
The query I'm trying to run is generated from the Available Media Report, which works as intended (i.e., each page does not show the same list of tapes).
Here is my query:
SELECT TOP 1000 START AT 1 domain_Media.barcode AS "Barcode", domain_Media.volumePoolName AS "Volume Pool" FROM domain_Media WHERE ( ( domain_Media.volumePoolName IN ( 'ScratchPool' ) ) AND ( domain_Media.isValid = 1 ) AND ( ( domain_Media.id LIKE '002%' ) ) );
As you can see, I'm trying to get barcodes of all my scratchpool tapes that start with a certain series of numbers.
Any Ideas? I'm currently running 7.5.0.4 Solaris SPARC on the Master and Media Servers, and 7.5.0.0 on OpsCenter Analytics on Solaris x86.
Also note that I can also generate this list by going to the "Monitor->Media" tab, and works correctly, but is neither printable nor exportable.