Help - COBOL copybook data in Java
843859Dec 12 2005 — edited Sep 28 2006We have mainframe DB2 stored procedures with COBOL copybook as out parameters. These copybooks contain both VARCHAR and COMP type fields. I'm trying to read the parameter as a String from Java and parse the fields from it. I face problem while trying to extract COMP type data since the characters are translated from EBCDIC to ASCII by JDBC. Can somebody help me out? I could not make any changes to the stored procedures since they are used by multiple applications.