Setting the program level

The program level defines the level for a particular module. This information is stored in the consistency token, which is in an internal DB2® format. Overriding the program level in the consistency token is possible, if needed, but generally not recommended.

Procedure

To override the construction of the consistency token by DB2:

Use the LEVEL (aaaa) option. DB2 uses the value that you choose for aaaa to generate the consistency token. Although this method is not recommended for general use and the DSNH CLIST or the DB2 Program Preparation panels do not support it, this method enables you to perform the following actions:
  1. Change the source code (but not the SQL statements) in the DB2 precompiler output of a bound program.
  2. Compile and link-edit the changed program.
  3. Run the application without rebinding a plan or package.