Steve, assuming this is a codepage dilemma... I found that certain objects like the "InputStreamReader" may be created with explicit character set parameters. If these are not set, the value of the JVM symbol "file.encoding" is used as a default. I have good experiences always setting the desired character set for the JVM, like "-Dfile.encoding=IBM-273". Did you check the symbol IBM_JAVA_OPTIONS for file.encoding already? This one is defined in the STDENV-DD somewhere in SYS1.PROCLIB(JVMPRCxx) for JZOS. Take care about the environment symbols. The profile-file concatenation seems not to be automatically included by JVMLDMxx (as BPXBATCH with SH-parameter does). Instead, I need to include my and the system profile-file concatenation in STDENV-DD with the dot-operand. Cheers Michael
Steve Comstock <st...@trainersfriend.com> Gesendet von: MVS OpenEdition <mvs...@vm.marist.edu> 06.10.2009 04:01 Bitte antworten an IBM-MAIN <IBM-MAIN@BAMA.UA.EDU>; Bitte antworten an MVS Open Edition <mvs...@vm.marist.edu> An mvs...@vm.marist.edu Kopie Thema [MVS-OE] Java problem We've recently been migrating our z/OS system from our Thinkpad under FLEX-ES to the IBM Dallas center. It's actually going pretty well, but now I'm having a problem doing a simple Java compile. Here's what happens: ===> javac cgijava1.java java/io/PrintStream.java(java/io:PrintStream.java):1: illegal character: \7 ----- ---&ÊÑ>ÈëÈÊÁ/_-¦/Î/-------------------ä?ø`ÊÑÅÇÈ------ëÍ>-(ÑÄÊ?Ë`ËÈÁ_Ë--ñ>Ä-- %%-ÊÑÅÇÈË-ÊÁËÁÊÎÁÀ-----ëí+-&ê|&êñáè êßä|+ãñàá+èñ < --íËÁ-ÑË-ËͦÁÄÈ-È?-%ÑÄÁ>ËÁ-ÈÁÊ_Ë------ø/Ä,/ÅÁ-¦/Î/-Ñ?---Ñ_ø?ÊÈ-¦/Î/-ÍÈÑ%-ã?Ê_/ÈÈÁÊ--Ñ_ø?ÊÈ-¦/Î/-ÍÈÑ%-<?Ä/%Á--Ñ_ø?ÊÈ-¦/Î/-ËÁÄÍÊÑÈ`- Ä ÄÁËËä?>ÈÊ?%%ÁÊ-------------------------------------------ñâ(-øÁÊìãÑ%Áñ|-Ñ_ø?ÊÈ-ËÍ>-ËÁÄÍÊÑÈ`-/ÄÈÑ?>-åÁÈ&Ê?øÁÊÈ` ÄÈÑ?>---------------- --------------------ñâ(-øÁÊìãÑ%Áñ|--------- --Ä?ÀÁ-&ÊÑ>ÈëÈÊÁ/_-Ä?ÀÁ--/ÀÀË-ÃÍ>ÄÈÑ?>/%ÑÈ`-È?-/>?ÈÇÁÊ-?ÍÈøÍÈ-ËÈÊÁ/_----->/_Á%`-ÈÇÁ-/ÂÑ% ÑÈ`-È?-øÊÑ>È-ÊÁøÊÁËÁ>È/ÈÑ?>Ë-?Ã-Î/ÊÑ?ÍË-À/È/-Î/%ÍÁË----Ä?>ÎÁ>ÑÁ>È%`---èÏ?-?ÈÇÁÊ-ÃÁ/ÈÍÊÁË-/ÊÁ-øÊ?ÎÑÀÁÀ-/Ë-ÏÁ%%---í>%Ñ,Á-?ÈÇÁÊ-?ÍÈøÍÈ-- --ËÈÊÁ/_Ë--/--Ä?ÀÁ-&ÊÑ>ÈëÈÊÁ/_-Ä?ÀÁ-->ÁÎÁÊ-ÈÇÊ?ÏË-/>-----Ä?ÀÁ-ñ|áÌÄÁøÈÑ?>-Ä?ÀÁ---Ñ>ËÈÁ/À--ÁÌÄÁøÈÑ?>/%-ËÑÈÍ/ÈÑ?>Ë-_ÁÊÁ%`-ËÁÈ-/>----Ñ>È . . . It compiles fine on our old system; we are using Java 1.6 in both cases. Environment variables of note: Old: CLASSPATH="/u/scomsto/CGI:/u/scomsto/public_html/Java:/usr/lpp/internet/server_root/cgi-bin:/usr/lpp/java16/J6.0:" JAVA_HOME="/usr/lpp/java16/J6.0" LANG="C" LIBPATH="/usr/lpp/java16/J6.0/bin/classic:/usr/lpp/java16/J6.0/bin:/usr/lpp/ldap/lib:/usr/lpp/internet/sbin:/usr/lpp/internet/bin:/us r/lpp/Printsrv/lib:/lib:/usr/lib:." NLSPATH="/usr/lpp/Printsrv/%L/%N:/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat" PATH="/usr/local/bin:/usr/lpp/pli/bin:/usr/lpp/cobol/bin:/usr/lpp/Printsrv/bin:/bin:.:/usr/lpp/java16/J6.0/bin:/usr/lpp/toolsNtoys/bi n" New: CLASSPATH="/u/scomsto/CGI:/u/scomsto/public_html/Java:/usr/lpp/internet/server_root/cgi-bin:/u/Java6_31/J6.0:/u/Java6_31/J6.0/src.zip" JAVA_HOME="/u/Java6_31/J6.0" LANG="C" LIBPATH="/u/Java6_31/J6.0/bin/classic:/u/Java6_31/J6.0/bin:/usr/lpp/ldap/lib:/usr/lpp/internet/sbin:/usr/lpp/internet/bin:/lib:/usr/l ib:.:/usr/lib/java_runtime" NLSPATH="/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat" PATH="/u/Java6_31/J6.0/bin:/usr/lpp/pli/bin:/usr/lpp/internet/bin:/usr/lpp/cobol/bin:/bin:." I seem to recall running into this problem once before, but I can't seem to recall how I solved it. Any suggestions here? -- Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com z/OS Application development made easier * Our classes include + How things work + Programming examples with realistic applications + Starter / skeleton code + Complete working programs + Useful utilities and subroutines + Tips and techniques ==> Ask about being added to our opt-in list: <== ==> * Early announcement of new courses <== ==> * Early announcement of new techincal papers <== ==> * Early announcement of new promotions <== ---------------------------------------------------------------------- For MVS-OE subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO MVS-OE ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html