Hi, Have written the java codes in HellowWorld.java and compiled it.. Now it works.
On Wed, May 25, 2011 at 4:52 PM, Shmuel Metz (Seymour J.) < shmuel+ibm-m...@patriot.net> wrote: > In <BANLkTintaXuqk4tb9Whfx=l53ipw+yf...@mail.gmail.com>, on 05/21/2011 > at 07:38 AM, jagadishan perumal <jagadish...@gmail.com> said: > > >I was trying to invoke a java executable file using the below batch > >but The expected output was not recieved. > > Read the help data, then take a closer look at your JCL. > > >The out out was expected to throw as "HELLO WORLD" > > Why would you expect output from a program that you didn't call? > > >//RUN EXEC PGM=BPXBATCH, > >// PARM='SH java -cp /proj2/jproj/path.classpath' > > Notice what's missing. > > -- > Shmuel (Seymour J.) Metz, SysProg and JOAT > ISO position; see <http://patriot.net/~shmuel/resume/brief.html> > We don't care. We don't have to care, we're Congress. > (S877: The Shut up and Eat Your spam act of 2003) > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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