Please be aware that ADSM.ORG will be going through forum software conversion and migration over the next several weeks. The cut-over date and time will be posted in the ADSM.ORG News & Announcements section as we near the target date. Please visit the following link for more details ADSM News & Announcements
Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.
It doesn't like the quotes around "Scratch Volume", the first quote before the S closes the original quote. Try using removing the space so that you don't need the quotes instead:
Code:
define script scratch "select volume_name AS Scratch_Volumes from libvolumes where status='Scratch' and volume_name like '%L6'"