cobol2.hlp (Table of Contents; Topic list)
SQLPROT Details (↑ SQL)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Using SQLPROT results in the program registering a process so that
     the database is always closed down properly when a STOP RUN is
     encountered. This is the same as provided by SQLINIT, so SQLPROT is
     only needed when NOSQLINIT is specified. Hence, NOSQLINIT SQLPROT
     should be specified for SQL programs that need to protect the
     database on STOP RUN but do not want to initialize.
 
     This directive is ignored if NOSQL is specified.
                                    -♦-