HI Martin, We have been using Jrecord for the past 7 years. It was working fine till java 1.8. However, while migrating to java11, we are getting issue. if possible, could you please upgrade the below code to java 11 supportable https://sourceforge.net/p/jrecord/code/HEAD/tree/jrecord/Source/JRecord_Utilities/JRecord_Cbl2Xml/src/net/sf/JRecord/cbl2xml/
Hi, Thanks for you reply. Currently, I am using the below method for conversion. private static String xml2data(InputStream dataFileName, String copybookFileName) throws FileNotFoundException, RecordException, IOException, JAXBException, XMLStreamException { ByteArrayOutputStream os = new ByteArrayOutputStream(0x10000); Cobol2GroupXml.newCb2Xml2Xml(copybookFileName) .setFileOrganization(net.sf.JRecord.Common.Constants.BINARY_IO) .xml2Cobol(dataFileName, os); return new String(os.toByteArray()); }...
Hi, Did you check this query? Best Regards S.Mouttou
Hi Martin, xml to copy book conversion using jrecord. We have a requirement to send a value in computational format at backend. I saw there is a feature called computational shown below <item display-length="8" level="10" name="CEX1000C-XML-BLK-SIZE" numeric="true" picture="S9(08)" position="2543" signed="true" storage-length="4" usage="computational"/> With the above configuration, When i am sending the value as 80 for the above field(CEX1000C-XML-BLK-SIZE), We could see that 'P' at the location...
Hi, Tks for your suggestion. I will go thorough the sample attached herewith and...
Hi, Currently, we are using jrecord version 0.80.8g for xml to copy and vice versa....
Hi, Thanks for let us know about alignment handling on new Xml2Data in JRecord. As...
Hi, It seems like our backend team handling this. Hence, alignment need not to be...