The item defined with the TEMPLATE keyword cannot be used in this context.
30
Cause . . . . . : An item defined with the TEMPLATE keyword can be used only to define other items using the LIKEFILE keyword.
Recovery . . . : Remove the TEMPLATE keyword from the definition of the item, or remove the reference to the item.