title: example EBCDIC file for Java program to convert EBCDIC to ASCII
body: <p>I am trying to convert EBCDIC file to ASCII using following code :</p>
  
  <pre><code>InputStreamReader rdr = new InputStreamReader(new FileInputStream(&lt;your file&gt;),java.nio.Charset.forName("ibm500"));    
      while((String line = rdr.readLine()) != null) {
          System.out.println(line);
  </code></pre>
  
  <p>I am trying to find a sample file in EBCDIC format to send it as an input to this program. Can anyone please point me to a sample file. can't find anything online.</p>