|
Hi
THis is what i have done in my CL , hope this helps
CRTPF FILE(QTEMP/STDOUT) RCDLEN(10000)
MONMSG MSGID(CPF0000 MCH0000)
OVRDBF FILE(STDOUT) TOFILE(QTEMP/STDOUT) +
OVRSCOPE(*JOB)
MONMSG MSGID(CPF0000 MCH0000)
CRTPF FILE(QTEMP/STDERR) RCDLEN(10000)
MONMSG MSGID(CPF0000 MCH0000)
OVRDBF FILE(STDERR) TOFILE(QTEMP/STDERR) +
OVRSCOPE(*JOB)
MONMSG MSGID(CPF0000 MCH0000)
RUNJVA CLASS(AS400SwapUser)
/* call java program here */
QSH CMD(&JAVA)
--- michael@xxxxxxxxxxxxxxxxxx wrote:
> Thanks Chris...I see in the archives that you can
> override STDOUT to
> somefile, but that's if it's running under QSH. I
> could do that, but I
> think you lose some error information that way.
>
> > -------- Original Message --------
> > Subject: Re: Java program completed message on
> V5R1
> > From: chris.delashmutt@xxxxxxxxxxxxx
> > Date: Mon, January 17, 2005 1:48 pm
> > To: "Java Programming on and around the iSeries /
> AS400"
> > <java400-l@xxxxxxxxxxxx>
> >
> > The only way I've been able to accomplish that is
> to submit the java
> > program instead of calling it interactively.
> Someone else may have a
> > better solution.
> >
> > Chris DeLashmutt
> > Senior R&D Analyst
> > LeasePlan USA
> > 1165 Sanctuary Pkwy., Alpharetta, GA 30004
> > Phone: 678-202-8695
> > Fax: 678-921-4895
> > ClearCase problems? Check out the LeasePlan
> ClearCase FAQ for answers!
> >
> >
> >
>
|---------+------------------------------------------------------------->
> > | | michael@xxxxxxxxxxxxxxxxxx
> |
> > | | Sent by:
> |
> > | |
> java400-l-bounces+chris.delashmutt=leaseplan.com@m|
> > | | idrange.com
> |
> > | |
> |
> > | |
> |
> > | | 01/17/2005 01:44 PM
> |
> > | | Please respond to Java
> Programming on and around |
> > | | the iSeries / AS400
> |
> >
>
|---------+------------------------------------------------------------->
> >
>
>----------------------------------------------------------------------------------------------------------------------|
> > |
>
> |
> > | To: java400-l java400-l
> <java400-l@xxxxxxxxxxxx>
> |
> > | cc:
>
> |
> > | Subject: Java program completed message
> on V5R1
> |
> >
>
>----------------------------------------------------------------------------------------------------------------------|
> >
> >
> >
> >
> > How does one avoid the teminal screen and the Java
> program completed
> > message (and the need to press Enter) in V5R1? I
> can specify
> > OUTPUT(*NONE) in V5R2, but the OUTPUT parameter is
> not available in
> > V5R1.
> >
> > I sure this is a newbie question, but at least
> it's iSeries related...
> >
> >
> >
> > --
> > This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L)
> > mailing list
> > To post a message email: JAVA400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> > or email: JAVA400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the
> archives
> > at http://archive.midrange.com/java400-l.
> >
> >
> >
> >
> >
> > --
> > This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> > To post a message email: JAVA400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> > or email: JAVA400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the
> archives
> > at http://archive.midrange.com/java400-l.
>
> --
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
>
>
=====
A$HI$H
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.