Hi,
i am not having access to Create table.... i want to use PLAN_TABLE.
if i use below statements in SYSTSIN , i am getting INVALID syntax EXPLAIN.
can any body help how to execute Exlpain query????
DSN SYSTEM(DB2)
RUN PROGRAM(PROG1)
PLAN(TESTPL1)
EXPLAIN(YES)
END
regards,
raja.
DB2 Explain table
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: DB2 Explain table
Hello,
If you post all of your jcl, control info, and the disgnostic info from the jes output(s), we may be able to offer suggestioins.
If you post all of your jcl, control info, and the disgnostic info from the jes output(s), we may be able to offer suggestioins.
Hope this helps,
d.sch.
d.sch.
-
- Posts: 1
- Joined: Tue Oct 30, 2007 5:06 pm
- Skillset: DB2
- Referer: IBMMAINFRAMES.COM
Re: DB2 Explain table
Hi ,
you can't give Explain (Yes) in the Run Comamnd of your Db2-Run JCl . you can enable explain (YES) during binding the plan / pacakge .
So go ahead with re-bind the plan/package with Exaplin (YES) .
Please correct me If i am wrong
Regards
Senthil
you can't give Explain (Yes) in the Run Comamnd of your Db2-Run JCl . you can enable explain (YES) during binding the plan / pacakge .
So go ahead with re-bind the plan/package with Exaplin (YES) .
Please correct me If i am wrong
Regards
Senthil