Its like ;we have a load module for to run a program so as like we need to have PLAN to access Tables.Its the only executable form which present in sketon cursor table of DB2.This would be loaded by the DB2 at the time
when want to run a batch db2 program.
You may need to provide a progname and Plan name correposnding to it for running that program.
PLAN simply contains the access paths which you obntain once you do the BIND with the DBRM.
FYI, we have a source code (COBOL + DB2 pgm). Here comes the precompiler into light. The precompiler branches the source code into two parallel streams. On one hand all the EXEC SQL statements are extracted into DBRM and on the other hand the source is converted into object module. As this instance the timestamp is generated for both the DBRM and the object module for consistency check.
Now the object module is compiled and link- edited , where as the DBRM is also BIND into PLAN / PACKAGE simultaneously.