Chapter 11. Exits 273
/* OUTPUT:                                                            */ 
/*                                                                    */ 
/*        1) OnDemand will invoke the exit with action == 1           */ 
/*           so that the exit can create the table space (tblsp_name)  */ 
/*           using (sql)                                              */
/*            *created  -> 0 exit did not create the table space,      */
/*                           OnDemand needs to create the table space  */
/*                           using (sql), which can be left unchanged */
/*                           or modified by the exit                  */
/*            *created  -> 1 exit created the table space              */
/*                                                                    */
/*        2) OnDemand will then invoke the exit with action == 2      */
/*           so that the exit can create the table (table_name)       */
/*           inside of the table space (tblsp_name) using (sql)        */
/*            *created  -> 0 exit did not create the table,           */
/*                           OnDemand needs to create the table       */
/*                           using (sql), which can be left unchanged */
/*                           or modified by the exit                  */
/*            *created  -> 1 exit created the table                   */
/*                                                                    */
/*        3) OnDemand will then invoke the exit with action == 3      */
/*           so that the exit can create the table indexes (idx_name) */
/*           inside of the table space (tblsp_name) for table          */
/*           (table_name) using (sql).  This will be invoked based    */ 
/*           on the number of indexes to create for the appl_grp      */ 
/*            *created  -> 0 exit did not create the index,           */ 
/*                           OnDemand needs to create the index       */ 
/*                           using (sql), which can be left unchanged */ 
/*                           or modified by the exit                  */ 
/*            *created  -> 1 exit created the index                   */ 
/*                                                                    */ 
/*        4) OnDemand will then invoke the exit with action == 4      */ 
/*           so that the exit can perform any additional work         */ 
/*            *created  -> Is not used                                */ 
/*            sql       -> If sql is not an empty string, OnDemand    */ 
/*                         will issue (sql) to the database           */ 
/*                                                                    */ 
/*        If ARS_DB_TABLESPACE_USEREXIT_EXTRA=1 is defined in         */ 
/*        ars.cfg, then the following actions will also be invoked    */ 
/*        when OnDemand needs to do further actions:                  */ 
/*                                                                    */ 
/*        5) OnDemand will invoke the exit with action == 5           */ 
/*           so that the exit can drop the table space (tblsp_name)    */
/*           using (sql)                                              */
/*            *created  -> 0 exit did not drop the table space,        */
/*                           OnDemand needs to drop the table space    */
/*                           using (sql), which can be left unchanged */
/*                           or modified by the exit                  */
/*            *created  -> 1 exit dropped the table space              */
/*                                                                    */
/*        6) OnDemand will invoke the exit with action == 6           */
/*           so that the exit can drop the table (table_name)         */
/*           using (sql) when OnDemand needs to drop a table          */
/*            *created  -> 0 exit did not drop the table,             */