Temporary source file member

Source statements processed by the precompiler are written to QSQLTEMP in the QTEMP library (QSQLTEMP1 in the QTEMP library for programs created using CRTSQLRPGI).

In your precompiler-changed source code, SQL statements have been converted to comments and calls to the SQL interface modules: QSQROUTE, QSQLOPEN, QSQLCLSE, and QSQLCMIT. The name of the temporary source file member is the same as the name specified in the PGM parameter of CRTSQLxxx. This member cannot be changed before being used as input to the compiler.

QSQLTEMP or QSQLTEMP1 can be moved to a permanent library after the precompile, if you want to compile at a later time. If you change the records of the temporary source file member, the compile attempted later will fail.