In <[email protected]>, on 05/21/2011
   at 07:38 AM, jagadishan perumal <[email protected]> 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 [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to