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



Vengoal Chang wrote:
> ...
> 1. I specify the stderr.txt and stdout.txt in my SystemDefaults.properties,
> these two files not exist in this moment.

It has to be SystemDefault.properties (no 's' on Default).  But if it's
working with Qshell, you probably have the right name.

> ...
> So my question is:
> 
> 1. Does RPG(call java method) pgm don't auto create stdxxx file ? But Qshell
> did.
> 2.  How do I set the stdout.txt as appended mode not replaced mode ?
> 

I am having trouble getting the file created even with qsh now; I must
be missing some step.  

Using Google, I found this Software Technical Document that describes
the difference between QSH and command-line calls:
http://www-912.ibm.com/s_dir/slkbase.NSF/0/8303c4982f8a8f9086256e98006fbb5f?OpenDocument.
 
It looks like I was involved in writing this, since the examples use my
directory, but I confess I forgot about this other environment variable
QIBM_QSH_CMD_OUTPUT.  This shows how to call an RPG program as a Qshell
command.

In the Info Center, I found this page
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm?info/rzahz/cmdcl.htm.
 
It implies that if you call the program as a Qshell command, you can get
the file to append by specifying FILEAPPEND=pathname for the
QIBM_QSH_CMD_OUTPUT environment variable.  I don't know if there's
something similar for QIBM_USE_DESCRIPTOR_STDIO.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.