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



Thanks!

Windows2000 commands had a relatively small length which I ran into when
running jobs on a PC with RUNRMTCMD.

That doesn't seem to be a problem with QSH.

Lots to learn.

Thanks all!!!





"Clapham, Paul" <pclapham@xxxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
10/23/2007 01:47 PM
Please respond to Java Programming on and around the iSeries / AS400

To: Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>
cc: (bcc: Bill Blalock/TUS/US/Certegy)
Subject: RE: How to redirect stderr and stdout of QSH into
a java program


I don't know what limits there are. I do know that my script, with a
line 1863 characters long, does run under qshell. I haven't been
worrying about the question.

Regards
Paul Clapham

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: October 23, 2007 11:34
To: Java Programming on and around the iSeries / AS400
Subject: Re: How to redirect stderr and stdout of QSH into a java
program

bill.blalock@xxxxxxxx wrote:
"Does a script processed by qsh have a limit on the length of a
command?
If so what are the tricks to get around it? (continuation or
whatever)"

I've run into limits on what the Windows 2000 command processor in
terms of length of the command. I was wondering what limits are on a
qsh command, particularly one built in a script.

Sorry, this I cannot answer.

Perhaps someone else has more experience in qshell?

david

--
System i ... for when you can't afford to be out of business
--
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.


------------------
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.
------------------

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.