A long line in a qsh script can be escaped so it continues on the next
line with a "\" character like so:

java \

-Djava.awt.headless=true \

Hope I answered the right question this time :)


David Gibbs <david@xxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
23/10/2007 12:34 PM
Please respond to
Java Programming on and around the iSeries / AS400

Java Programming on and around the iSeries / AS400

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?


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