title: How can I create PLAN_TABLE in db2 Z/OS
body: <p>I want to log events in plan table.</p>
  
  <pre><code>EXPLAIN PLAN SET QUERYNO = 10
  FOR select id,name from t_test;
  </code></pre>
  
  <p>when I try to create plan it shows below error.</p>
  
  <blockquote>
    <p>THE REQUIRED EXPLANATION TABLE IBMUSER.PLAN_TABLE DOES NOT EXIST. <br>
    SQLCODE=-219, SQLSTATE=42704, DRIVER=4.18.60"</p>
  </blockquote>
  
  <p>How I can create the plan_table or it inbuilt.</p>