× 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 Bill,
this is correct 65535 means don't do any conversion.
The way it works in VARPG, VARPG will invoke the iSeries data base via DDM
and request the data and will tell data base which code page the VARPG
client is on , Data base will read the data and apply the necessary data
conversions. Since in this case the data base description says not to
convert this field, no conversion will be done and you see the data with
its EBCDIC values on the PC.
2 things you can do,
- 1 fix the data base description
- 2 call an RPGIV program from VARPG, let the RPGIV program read the data,
put the data into a data structure that you pass as pararmeter. Now since
this is passed as a pararmeter, the field info that this is 65535, is lost,
so conversion will be done.

Hope this helps, my preference would be to fix up the database because it
will cause you problems in the future in any web or client server app.

Claus Weiss Visual AD tools, email: weiss@ca.ibm.com
Dept 522 IBM Canada Lab tie778-3987 Phone(416)448-3987 FAX(416)448-4414
Greetings from Toronto
WDT/400 homepage: ibm.com/software/ad/wdt400
WDT/400 newsgroup: news://news.software.websphere.studio400     |   VARPG
newsgroup: news://news.software.ibm.com/ibm.software.varpg,



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.