Activity for Dobre Mihaela

  • Dobre Mihaela Dobre Mihaela posted a comment on discussion Help

    Thanks a lot, it worked !!

  • Dobre Mihaela Dobre Mihaela posted a comment on discussion Help

    Thank you, Bruce, it indeed work and I do not get the error at that line anymore. The problem is that I get now: net.sf.JRecord.Common.RecordException: net.sf.cb2xml.sablecc.parser.ParserException: [line=64, Column=28] expecting: '.' So there is still sth wrong in the copybook and I cannot find sth similar with what you did...I will attach it. If you have time, maybe you can take a quick look because I am a cobol beginner and I cannot see the mistake...

  • Dobre Mihaela Dobre Mihaela posted a comment on discussion Help

    Hi Bruce, Unfortunately, I still have that error: ~~> 0 net.sf.JRecord.Common.RecordException: net.sf.cb2xml.sablecc.parser.ParserException: [line=9, Column=15] expecting: '.' net.sf.JRecord.Common.RecordException: net.sf.cb2xml.sablecc.parser.ParserException: [line=9, Column=15] expecting: '.' This is my code: public static void main(String[] args) throws FileNotFoundException, IOException { String dataFile = "C:/Users/dobrmih/Downloads/UserTstSA200/tst/resources/file1nsw.txt"; String copybookName...

  • Dobre Mihaela Dobre Mihaela posted a comment on discussion Help

    Hello, I am trying to parse a cobol file and I am using the copybook. Unfortunately, I get this error regarding the copybook : Error parsing Cobol: java.lang.RuntimeException: net.sf.cb2xml.sablecc.parser.ParserException: [line=9, Column=9] expecting: '.' The first part of the copybook, where the error can be found looks like this: * PMW-Private Wealth Ma * Generated on: 2020/03/27 Time: 16:03:32 * 01 RBPWM-SATZ * 05 RBPWM-DIMFR PIC X(250) Value Spaces. * 05 FILLER REDEFINES RBPWM-DIMFR * Fixed part...

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    Does not look really encouraging, I am not really sure what I could do. Do you think that if the file would be converted from ASCII to EBCDIC, it would work ?

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    Hi Bruce, I attach it again , hope it will work.Thanks a lot for your incredible help

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    the copybook is attached also

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    Hi Bruce, thank you for your incredible support, in eclipse everything works !! I have a final question for you. I replaced the input files and I get some errors saying "invalid packed decimal" or "invalid sign". Do you think this new file is not suitable for the font set, cp273? it looks as terrible as the other one, having comp-3 values. should I change anything in the code ?

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    Hi Bruce, I am now using Jrecord version 0.81.3 along with cb2xml version 0.95.8 and I get the error The file "lexer.dat" is either missing or corrupted Any thoughts on this? I found an answer related to that, but according to it, my versions are okay

  • Dobre Mihaela Dobre Mihaela modified a comment on ticket #27

    The person who helped me the code has the following dependencies and said that this works: <dependency org="net.sf" name="cb2xml" rev="0.81.3" conf="*->default" transitive="false"/> <dependency org="net.sf.jrecord" name="cobol2cobol" rev="0.81.3" conf="*->default" transitive="false"/> <dependency org="net.sf.jrecord" name="cbl2xml" rev="0.81.3" conf="*->default" transitive="false"/> <dependency org="net.sf.jrecord" name="jrecord" rev="0.81.3" conf="*->default" transitive="false"/> <dependency org="net.sf.jrecord"...

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    The person who helped me the code has the following dependencies and said that this works: <dependency name="cb2xml" &gt;<br="" rev="0.81.3" conf="*-&gt;default" org="net.sf" transitive="false"> <dependency name="cobol2cobol" &gt;<br="" rev="0.81.3" conf="*-&gt;default" org="net.sf.jrecord" transitive="false"> <dependency name="cbl2xml" &gt;<br="" rev="0.81.3" conf="*-&gt;default" org="net.sf.jrecord" transitive="false"> <dependency name="jrecord" &gt;<br="" rev="0.81.3" conf="*-&gt;default" org="net.sf.jrecord"...

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    So I have cb2xml version 1.00 and jrecord-base version 0.90 and the other one, jrecord-common, version 0.90

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    and this is the stack trace

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    this zip contains the pom files I have thanks a lot for your help !!

  • Dobre Mihaela Dobre Mihaela posted a comment on ticket #27

    I added both the copybook and the file that needs to be decrypted and the version is 0.90

  • Dobre Mihaela Dobre Mihaela created ticket #27

    NoSuchElementException when creating external record

1