× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All

We are trying to call a CL program. The CL program in turn calls the RPG
program. The java code for calling the CL Program . Before the CL program is
called our java application inserts into a DB2 400 phy file. Here both
english and japnesse data (both single byte and double byte data) is updated
properly.In the Phy file the data type been used for storing the data is of
DBCS and the CCSID has been defined as 5026 and Language ID JPN for this
column. However after the CL program s called by the java application, a one
RPG program is called which then in turn reads the Phy file.

The java application would then wait for a response from the AS400. However,
when the RPG programs reads the column having the japanesse data it goes
into indefenite wait state. Thus no response is send to the java
application. However when english data is send everything works fine and
response is immediately send back. From the logs we have understood the RPG
program fails when the following AS400 statements are executed.

SETLL Phy file
READE Phy file

Do we have to do some special processing whenever japanesse DBCS data is
send? Please give some suggestion how to handle this.

Thanks a lot in advance.

Regards,
Prashant

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.