<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: EBCDIC file extract using Community Edition in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344144#M111831</link>
    <description>Your way is correct. 
&lt;BR /&gt;Yes the EBCDIC component can read packed decimals. 
&lt;BR /&gt;Your problem looks like the description about your EBCDIC file is not correct (In fact to long). 
&lt;BR /&gt;Unfortunately I know only the DI Enterprise version and this version ships with a copybook wizard. 
&lt;BR /&gt;Since the version 5.1.3 of Talend Studio, this wizard works without problems. 
&lt;BR /&gt;I would suggest creating a very basic simple EBCDIC file with 2 datasets and one field (packed decimal) and try to read it. 
&lt;BR /&gt;Often problems in the xc2j configuration raise later exception because of only small misleading offset. 
&lt;BR /&gt;Did you checked the correct content of your first 25 records? 
&lt;BR /&gt;I would bet there are errors.</description>
    <pubDate>Sat, 25 May 2013 16:00:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-25T16:00:05Z</dc:date>
    <item>
      <title>EBCDIC file extract using Community Edition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344143#M111830</link>
      <description>I am using Talend Big Data Community Edition and one of the ask is to extract data from EBCDIC-Packed decimal data file. I had setup the tFileInputEBCDIC component in the edition and generated .xc2j file using cobol2j-1.5.4 as well Talend XML schema file using the copybook. 
&lt;BR /&gt;Used the .xc2j file and the .xml schema file in tFileInputEBCDIC. The copy book is correct since the same works when tested in another ETL tool &amp;amp; it works. 
&lt;BR /&gt;When I run in Talend after the above steps, the below error message comes after 25 records are loaded. The 25 records loaded also is incorrect and has lots of junk characters. 
&lt;BR /&gt;I have the following questions: 
&lt;BR /&gt;1. Can we read a EBCDIC packed decimal file in community edition? 
&lt;BR /&gt;2. Are the steps I have described above are correct? 
&lt;BR /&gt;3. What could be the possible reason for the error and incorrect junk data in target? 
&lt;BR /&gt;4. Is there any other option/alternative available to try out? 
&lt;BR /&gt;Kindly provide feedback as this is currently a roab block. Thanks in advance. 
&lt;BR /&gt;Starting job New_EBCDIC_BCMaster at 21:42 24/05/2013. 
&lt;BR /&gt; 
&lt;BR /&gt; connecting to socket on port 3633 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tFileInputEBCDIC_1 
&lt;BR /&gt;net.sf.cobol2j.RecordParseException: Unexpected EOF while reading record nr: 24. 
&lt;BR /&gt; at net.sf.cobol2j.RecordSet.next(RecordSet.java:107) 
&lt;BR /&gt; at talend_try1.new_ebcdic_TESTFF_0_1.New_EBCDIC_TESTFF.tFileInputEBCDIC_1Process(New_EBCDIC_TESTFF.java:13175) 
&lt;BR /&gt; at talend_try1.new_ebcdic_TESTFF_0_1.New_EBCDIC_TESTFF.runJobInTOS(New_EBCDIC_TESTFF.java:17581) 
&lt;BR /&gt; at talend_try1.new_ebcdic_TESTFF_0_1.New_EBCDIC_TESTFF.main(New_EBCDIC_TESTFF.java:17449) 
&lt;BR /&gt;Caused by: net.sf.cobol2j.FieldParseException: 
&lt;BR /&gt; RecordSet ERROR Cannot parse field: PIN-PVV. Data: '@@@', Picture: X(4), Type: X, Size: 4 
&lt;BR /&gt; RecordSet ERROR Total bytes processed before error: 69997 
&lt;BR /&gt; disconnected 
&lt;BR /&gt; at net.sf.cobol2j.RecordSet.readText(RecordSet.java:282) 
&lt;BR /&gt; at net.sf.cobol2j.RecordSet.getFieldsValues(RecordSet.java:156) 
&lt;BR /&gt; at net.sf.cobol2j.RecordSet.next(RecordSet.java:89) 
&lt;BR /&gt; ... 3 more 
&lt;BR /&gt;Caused by: net.sf.cobol2j.FieldParseException: 
&lt;BR /&gt; at net.sf.cobol2j.RecordSet.readText(RecordSet.java:269) 
&lt;BR /&gt; at net.sf.cobol2j.RecordSet.readText(RecordSet.java:280) 
&lt;BR /&gt; ... 5 more 
&lt;BR /&gt;Job New_EBCDIC_TESTFF ended at 21:42 24/05/2013.</description>
      <pubDate>Sat, 16 Nov 2024 12:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344143#M111830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: EBCDIC file extract using Community Edition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344144#M111831</link>
      <description>Your way is correct. 
&lt;BR /&gt;Yes the EBCDIC component can read packed decimals. 
&lt;BR /&gt;Your problem looks like the description about your EBCDIC file is not correct (In fact to long). 
&lt;BR /&gt;Unfortunately I know only the DI Enterprise version and this version ships with a copybook wizard. 
&lt;BR /&gt;Since the version 5.1.3 of Talend Studio, this wizard works without problems. 
&lt;BR /&gt;I would suggest creating a very basic simple EBCDIC file with 2 datasets and one field (packed decimal) and try to read it. 
&lt;BR /&gt;Often problems in the xc2j configuration raise later exception because of only small misleading offset. 
&lt;BR /&gt;Did you checked the correct content of your first 25 records? 
&lt;BR /&gt;I would bet there are errors.</description>
      <pubDate>Sat, 25 May 2013 16:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344144#M111831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-25T16:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: EBCDIC file extract using Community Edition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344145#M111832</link>
      <description>I worked on many EBCDIC files with Talend and for sure, this issue is because wrong COBOL copy book mapping i am wonder how your other ETL tool is able to parse it using same Copybook book? &lt;BR /&gt;please check your COBOL length is matching with file record length, &lt;BR /&gt;Unexpected EOF while reading record nr: 24.&lt;BR /&gt;ERROR Cannot parse field: PIN-PVV. Data: '@@@', Picture: X(4), Type: X, Size: 4&lt;BR /&gt;this error show that your mention length is exceeded for some of the column so it is not able to Picture column using X data type, so it should be parse using S9(4)Comp-3. &lt;BR /&gt;If you show me actual Cobol mapping and EBCDIC file in Hex view i could suggest you in better way.</description>
      <pubDate>Mon, 27 May 2013 15:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344145#M111832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-27T15:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: EBCDIC file extract using Community Edition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344146#M111833</link>
      <description>Thanks for your replies. The copybook contains 3 schemas and I used them to generate the xc2j and XML schema files. Then specified the distinguish field value to highlight the schema which is to be read and ran the job.&lt;BR /&gt;Below is the error message and in the message "C1" is first field value. Not sure why it is appearing. &lt;BR /&gt;Due to restrictions I am unable to share the data file and copy book. Is there any suggestions to fix the issue. kindly reply and thanks in advance.&lt;BR /&gt;&lt;BR /&gt; connecting to socket on port 3456&lt;BR /&gt; connected&lt;BR /&gt;Exception in component tFileInputEBCDIC_1&lt;BR /&gt;net.sf.cobol2j.FileFormatException: No such record format : C1&lt;BR /&gt;	at net.sf.cobol2j.RecordSet.next(RecordSet.java:85)&lt;BR /&gt;	at training.test_0_1.test.tFileInputEBCDIC_1Process(test.java:8508)&lt;BR /&gt;	at training.test_0_1.test.runJobInTOS(test.java:18850)&lt;BR /&gt;	at training.test_0_1.test.main(test.java:18718)&lt;BR /&gt; disconnected&lt;BR /&gt;Job test ended at 20:05 14/06/2012.</description>
      <pubDate>Thu, 30 May 2013 15:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/EBCDIC-file-extract-using-Community-Edition/m-p/2344146#M111833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-30T15:10:55Z</dc:date>
    </item>
  </channel>
</rss>

