Loading...
Select Version
For conversion, proceed as follows:
Create the Cobol2Java objects with an empty constructor.
cob2javaclass cob2java = new cob2javaclass();
Then set the encoding of the connection:
cob2java.setEncoding( connection.getEncoding() );
cob2java.setEncodingActive( connection.isEncodingActive() );Specify the Cobol2Java objects directly in the communication methods:
sndRecord(ByteContainer)
,rcvRecord(ByteContainer)
,
call(ByteContainer, ByteContainer)
Detailed information on encoding is provided in the Encoding and national language support .