×

Good News Everybody!

The new search engine is LIVE!

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




This works for me in CL programs to capture java STDOUT to an IFS file.
Haven't tried this from RPG but should work as long as env var is set.

/*---------------------------------------------------------------------
/* SET THE IFS PATH TO STORE QSHELL OUTPUT FOR */
/* REVIEW IF NEEDED. */
/*---------------------------------------------------------------------
CHGVAR VAR(&STDOUTFILE) VALUE('FILE=' |< &STDOUTIFS)

/*---------------------------------------------------------------------
/* SET THE QSHELL STDOUT IFS FILE LOCATION */
/* ENVIRONMENT VARIABLE */
/*---------------------------------------------------------------------
ADDENVVAR ENVVAR('QIBM_QSH_CMD_OUTPUT') +
VALUE(&STDOUTFILE) REPLACE(*YES)

Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

------------------------------

message: 5
date: Fri, 2 Oct 2009 08:17:07 -0500
from: "hockchai Lim" <lim.hock-chai@xxxxxxxxxxxxxxx>
subject: Flashing of java system.out

I've a on-line RPG program that calls a java method to do some work.
This
java method does some System.out.println, which is flashing on the 5250
screen. Is there a way to prevent flashing of this System.out.println?



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