5511 Reference to [external] stored procedure "%VSTR" is not allowed in this context.
This error occurs in either of the following situations. 1. The user tried to insert rows into a [external] stored procedure which is not allowed. 2. The specified item is a [external] stored procedure, but the context of of the query returning the error requires the item to be a table, view, macro, user-defined function or permanent journal table.
Correct the statement and resubmit the request.