Hey. Cool stuff this project. What's about the direction "Java to Cobol". What if I need to write EBCDIC with packed field in a Java program? Can your library be used for this? If not, are the concepts adaptable? I appreciate your help!
I have never thought that "way" :) Can you confirm real need ? Or it is "just an idea" to reverse the river? ;) ... but seriously: cobol2j is not able to write ebcdic files. For sure I can imagine the need to feed cobol program with todays data from pc or sql. But frankly - the only common thing for cobol2j and java2cobol is a "background". i mean the knowledge about file structure. Library is useless for that. I would appreciate if you could bring some real need example for such java2cobol application if you have.
Writing to cobol/ebcdic files is now being implemented. I am looking for interested people to use/test. It is almost ready. Wow, I will have to change project description again!
Hi! I have some information in a MS SQL Server 2000 and I need to create a EBCDIC binary file to work as an interface to a COBOL program in a mainframe.
I have the copybook, with all the file structure, and I was wondering if I could use this library to generate the file that I need. If it is possible, can you please explain me how to use your library?
Thank you for your help.
Hi again. I was using the cb2xc2j.bat and I get this error message:
C:\IBK\cobol2j-1.5.1>java -cp .;
ib\jaxb-impl-2.1.8.jar;lib\jaxb-api-2.2.jar net.sf.cobol2j.examples.Cb2xc2j TEST.CPY 1>TEST.CPY.xc2j
*** using start column = 0, end column = 72
Exception in thread "main" net.sf.cb2xml.sablecc.parser.ParserException: [2,1] e
Can you please explain me why I'm getting this error?
Is it possible to convert a xml data structure into ebcdic format? And if so, can you please give me an example how to do this?
Yes, with api if you read somehow your xml data then use cobol2j api to write dat file.
Can you please give me an example how to do this. I don't find any hints in documentation or source code. You can also send me an example to tzimber(at)e2e.ch
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.