title: How to build dataframe from cobol and ebcdic file with COMP fields using Cobrix?
body: <p>I am trying first to build a simple dataframe from mainframe source with <a href="https://github.com/AbsaOSS/cobrix" rel="nofollow noreferrer">cobrix</a> to find out how it deals with ebcdic files.</p>
  <p>My Input looks like <a href="https://i.stack.imgur.com/54zQ7.png" rel="nofollow noreferrer">this</a>. (hex) : 313030100C3230301A0C. If I quickly open with Notepad++ : <a href="https://i.stack.imgur.com/SkhMu.jpg" rel="nofollow noreferrer">raw_data</a></p>
  <p>I use these <a href="https://i.stack.imgur.com/CfFE5.png" rel="nofollow noreferrer">options</a> to read my data and turn it into a dataframe.
  I have tried all the ebcdic encoding supported values without success. I also tried to change <code>S9(3).</code> to <code>999.</code> or <code>9(3).</code> in .cobol file but does not change anything.</p>
  <p>My <a href="https://i.stack.imgur.com/7G9Wz.png" rel="nofollow noreferrer">output</a> does not look like what I was <a href="https://i.stack.imgur.com/ESJPz.png" rel="nofollow noreferrer">expecting</a>.</p>
  <p>It works fine with &quot;classic&quot; ascii encodage and without &quot;COMP-3&quot;.
  Can you help me to find out why my df does not look like expected ?</p>
  <p>Many thanks !</p>