Which version are you using?
I've tried to create a table with your SQL, and it did work on V2R6.2.
Attachments
Library
Quick Reference
Archives
Sample Index
2010 Indexes