×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi,
I have a question very easy but very important for us. I execute a Java
program with a SBMJOB command and I'm trying to avoid the spool file with
the message "Java program completed". I tried using the os400.stderr
property as I show you:

             RMVENVVAR  ENVVAR(CLASSPATH)
             MONMSG     MSGID(CPFA981)
             ADDENVVAR  ENVVAR(CLASSPATH) +
                          VALUE(".:/:/dalmau:/oracle:/QIBM/ProdData/H+
                          ttp/Public/jt400/lib/jt400Access.zip:/QIBM/+
                          ProdData/Http/Public/jt400/lib/jt400.zip:/Q+
                          IBM/ProdData/Http/Public/jt400:/QIBM/ProdDa+
                          ta/Java400")
             MONMSG     MSGID(CPFA980)

             SBMJOB     CMD(JAVA +
                          CLASS(xvr.app.sip.ba.poolspa.logic.entity.A+
                          PIProduccion) PARM(&NPEDID &NTRES &CARTI +
                          &LITPIE &FECHA) PROP((java.version 1.2) +
                          (os400.stdout 'file:/Dalmau/Out') +
                          (os400.stderr 'file:/Dalmau/Err'))) +
                          CPYENVVAR(*YES)
...but it doesn't work.

Sorry for my english. Any suggestion will be appreciated.
Thanks from Barcelona.

Albert



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.