SQL and recursion
If you start SQL from an attention key program while you are already precompiling, you will receive unpredictable results.
The Create SQL (CRTSQLxxx), Create SQL Package (CRTSQLPKG), and Start SQL Interactive Session (STRSQL) commands and the SQL runtime environment are not recursive. They produce unpredictable results if recursion is attempted. Recursion occurs if, while one of the commands is running (or running a program with embedded SQL statements), the job is interrupted before the command has completed, and another SQL function is started.