× 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.



***********************
Your mail has been scanned by InterScan.
***********-***********


I guess you want to do this

/* TO AVOID SHOWING THE JAVA MESSAGE COMPLETED*/        
 /* CREATE A FILE IN QTEMP AND OVERRIDE WITH STDOUT*/    
 /* AS SHOWN BELOW*/                                     
                                                         
             CHKOBJ     OBJ(QTEMP/QSHO) OBJTYPE(*FILE)   
             MONMSG     MSGID(CPF9801) EXEC(DO)          
             CRTPF      FILE(QTEMP/QSHO) RCDLEN(200)     
             ENDDO                                       
             CLRPFM     FILE(QTEMP/QSHO)                 
             OVRDBF     FILE(STDOUT) TOFILE(QTEMP/QSHO)  

Regards
Rizwan
http://www.rizwan.in



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
PierceJ@xxxxxxxxxxxxxxxx
Sent: Tuesday, August 30, 2005 3:47 PM
To: java400-l@xxxxxxxxxxxx
Subject: OUTPUT parameter on JAVA command not valid in CL program


I am trying to call a Java program from a CL program.  I am able to
successfully call the Java program, but the shell doesn't go away until
the
user hits enter.  I want the Java program to behave as if called with
the
OUTPUT(* *CONTINUE) parameter on the JAVA call.  However, when calling
Java
from CL, this parameter is not allowed.  I have successfully redirected
all
my java i/o using the os400.stdout and os400.stderr properties.  I would
rather not have to submit my Java program to batch and then wait in my
CL
program using some other means to avoid this behaviour.

Any ideas?

--
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.




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.