View previous topic :: View next topic
|
Author |
Message |
farfadet
New User
Joined: 20 Feb 2006 Posts: 2
|
|
|
|
Hi,
How to get the executing plan name in a cobol programm ?
I want to known with plan is executing in a cobol programm.
Thanks. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
For batch: Take a look at the SYSTSIN card (the one that starts with "DSN RUN..."). You have the plan name there.
For CICS: Locate the starting transaction, then try 'CEMT I DB2T(transaction)'.
O. |
|
Back to top |
|
|
farfadet
New User
Joined: 20 Feb 2006 Posts: 2
|
|
|
|
I known that the plan name is in the SYSTSIN card, but I want to get the plan name in the cobol programm.
I think that is possible to get the plan name with a SQL order. But I don't known the good SQL order. |
|
Back to top |
|
|
|