Re: JZOS unexpected type

2012-05-21 Thread ENRIQUE ELOI MONTERO ROMERO
the negation sign to !. Are you sure about CCSID (including tagging) of files, locale and emulation? Cheers Michael Von:    ENRIQUE ELOI MONTERO ROMERO enriqueeloi.montero.contrac...@bbva.com An:     IBM-MAIN@bama.ua.edu Datum:  2012-05-18 13:50 Betreff:        JZOS unexpected type Gesendet

Re: JZOS unexpected type

2012-05-21 Thread Kirk Wolf
Just a suggestion, but why compile your Java programs on z/OS? Much better, IMO, to use a IDE like Eclipse on your desktop and then just publish the class files or jars to z/OS for execution. Also, JZOS actually refers to the batch launcher and toolkit for the IBM Java SDK, and not Java on z/OS

Re: JZOS unexpected type

2012-05-21 Thread Paul Gilmartin
On Mon, 21 May 2012 09:07:49 -0500, Kirk Wolf wrote: Just a suggestion, but why compile your Java programs on z/OS? Much better, IMO, to use a IDE like Eclipse on your desktop and then just publish the class files or jars to z/OS for execution. I understand that internally Java uses a 16-bit

Re: JZOS unexpected type

2012-05-21 Thread Kirk Wolf
the -encoding option on javac: http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javac.html On Mon, May 21, 2012 at 9:49 AM, Paul Gilmartin paulgboul...@aim.comwrote: On Mon, 21 May 2012 09:07:49 -0500, Kirk Wolf wrote: Just a suggestion, but why compile your Java programs on

Re: JZOS unexpected type

2012-05-21 Thread Paul Gilmartin
On Mon, 21 May 2012 09:57:48 -0500, Kirk Wolf wrote: the -encoding option on javac: http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javac.html Ah! And even better: http://docs.oracle.com/javase/1.4.2/docs/guide/intl/encoding.doc.html Perhaps the OP's preferred code page is

JZOS unexpected type

2012-05-18 Thread ENRIQUE ELOI MONTERO ROMERO
Hi team, This time i am trying a JZOS program under OMVS. It is simple, read a text file and show each line, here is the code: import java.io.*; class readit { public static void main(StringÝ~ args) { System.out.println(Prog start); BufferedReader bf = new BufferedReader(new

Re: JZOS unexpected type

2012-05-18 Thread Dave Roberts
Hi Enrique, You need to use != instead of ¬= for not equals in Java. Regards, David Roberts CICS Transaction Server for zOS IBM United Kingdom Limited, Hursley Park, Winchester, Hants, United Kingdom, SO21 2JN -- For IBM-MAIN

Re: JZOS unexpected type

2012-05-18 Thread Michael Klaeschen
Michael Von:ENRIQUE ELOI MONTERO ROMERO enriqueeloi.montero.contrac...@bbva.com An: IBM-MAIN@bama.ua.edu Datum: 2012-05-18 13:50 Betreff:JZOS unexpected type Gesendet von: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu Hi team, This time i am trying a JZOS program