Hi Everyone,

I am working Mainframe DB2. I have a DB2 COBOL program running on IBM Mainframe. I need to capture its associated DB2 Plan with in this COBOL program under which it is running. Depending upon the DB2 plan that this
program is running under, I need to do some process. How can I capture it in my program.

Note: This program is defined in a DB2 package collection and this collection is part of many DB2 Plans.


Any info is appreciated...

Thanks,
tpp