× 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.



THANK YOU!!!  It worked...  V5R1

Kristen

Fred Kulack wrote:

> A couple of options depending on which release you're in.
> Although it won't matter for I'd actually probably
> use code page 819 instead of 437 for the file, 819 is the
> default Java file encoding (ISO8859_1) if you're running in code page
> 37.
>
> See iSeries and AS/400 information center at
> <URL:http://as400bks.rochester.ibm.com/> for more information on qshell
> and java language/file encoding topics.
>
> V4R5, V5R1:
> touch -C 437 file.properties
> echo "Prop=value" >> file.properties
>
> V5R2:
> support for the  QIBM_CCSID environment variable and a utility called
> iconv. Some other utilities are going through updates to have a -C
> parameter
> for files.
>
> Any release:
> Write a simple java program that writes out your property file (it will
> write
> it in the correct CCSID) or use a file encoding value to read the file
> as ebcdic.
> Start here: http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm
> Programming->Java->IBM Developer Kit for
> Java->Customization->Internationalization->Character Encodings
>
> "The stuff we call "software" is not like anything that human society
>   is used to thinking about. Software is something like a machine, and
>   something like mathematics, and something like language, and
>   something like thought, and art, and information...
>   but software is not in fact any of those other things."
> Bruce Sterling - The Hacker Crackdown
>
> Fred A. Kulack - IBM eServer iSeries - Enterprise Application Solutions
> ERP, Java DB2 access, Jdbc, JTA, etc...
> IBM in Rochester, MN  (Phone: 507.253.5982   T/L 553-5982)
> mailto:kulack@xxxxxxxxxx   Personal: mailto:kulack@xxxxxxxxxxxxxx
> AIM Home:FKulack  AIM Work:FKulackWrk
> MSN Work: fakulack@xxxxxxxxxxx
>
>
>                       Kristen Henry
>                       <klhnry@xxxxxxxxxxx        To:       Java Programming 
> on and around the iSeries / AS400
>                       m>                          <java400-l@xxxxxxxxxxxx>
>                       Sent by:                   cc:
>                       java400-l-bounces@x        Subject:  Create a 
> properties file in QSH with the correct codepage
>                       idrange.com                 437 - How?
>
>
>                       02/27/2003 11:35 AM
>                       Please respond to
>                       Java Programming on
>                       and around the
>                       iSeries / AS400
>
>
>
> Ok folks...
>
> My data corruption problems stem from the creation of the properties file
> in QSH:
>
> echo "serverip=$server" > /opt/AVAps/bin/psunix.properties
> chmod 600 /opt/AVAps/bin/psunix.properties
> echo "mixedcaseuserids=true" >> /opt/AVAps/bin/psunix.properties
> echo "description=$desc" >> /opt/AVAps/bin/psunix.properties
> echo "http.port=$httpport" >> /opt/AVAps/bin/psunix.properties
> echo "keystorepwd=$key" >> /opt/AVAps/bin/psunix.properties
> echo "debug=false" >> /opt/AVAps/bin/psunix.properties
>
> Standard out has a codepage of 37 (the default display code page).
>
> I need a code page on the properties file of 437.  How do you create your
> properties files
> in QSH?
>
> Kristen
>
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
> mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
>
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
> mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.