title: oracle sql to db2 sql
body: <p>I have to change an Oracle SQL DDL to use it in zOS/DB2. Now I'm stuck in this part:</p>
  
  <pre><code> ... ATTRIBUTE1 char check (IS_FINISHED in (0,1)),
       ATTRIBUTE2 char check (HAS_ERROR in (0,1)),...
  </code></pre>
  
  <p>I have never used a 'check' in oracle, neither in DB2.
  Can someone please help me out here? Thank You. </p>