× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
Hi Albert,

just make an override to STDOUT

 OVRDBF     FILE(STDOUT) TOFILE(QTEMP/QSHO)


see my sample.

Stefan




mit freundlichen Grüßen,

Stefan Lorei,
BYK-Chemie GmbH,
D - 46462 Wesel, Abelstraße 45
DV-Abteilung
Telefon: +049 281 670 451
Fax: +049 281 670 9451



-----Ursprüngliche Nachricht-----
Von: java400-l-admin@midrange.com
[mailto:java400-l-admin@midrange.com]Im Auftrag von
albert_dalmau@roca.net
Gesendet: Mittwoch, 19. Juni 2002 10:26
An: JAVA400-L@midrange.com
Betreff: (no subject)


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 is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


************************************************************************
* Tracking #: C6EF01813983D61187D500E07D7FDA08D523B2C7
*
************************************************************************

--
[ SAMPLE.HTM of type application/octet-stream deleted ]
--



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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