301. INVALID USE @SPTABLEINST.

The @SPTABLEINST function is used to declare a particular instance of an outcome table.  The syntax for @SPTABLEINST is as follows:

@SPTABLEINST( 'PARENT_TABLE_NAME', 'TABLE_INSTANCE_NAME')

The parent table must have already been declared using @SPTABLESHAPE.  For more information on declaring outcome tables and using @SPTABLEINST, please refer to the Declaring Outcome Tables section of Chapter 14.