× 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 Richard,

it's not the length of the command line, it's the parameter that I defined
with a length of 500 characters.
Basically I created the call with QSH and it runs well - except I submit it
by JobQ.

So I've two choices,
Split the parameter max 256, call the java pgm with RUNJVA and merge it in
the java program again - hmmm (Q&D)
or
Call the sbmjob with QSH with the param ALWMLTTHD(*yes).
That seems for me ok and thanks for the hint to D*B.

Regards,
Karl
(not the ultimate java pgmr)

Btw. took a quick look to your utility as well. Thumbs up!

-----Ursprüngliche Nachricht-----
Von: JAVA400-L [mailto:java400-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von
Richard Schoen
Gesendet: Mittwoch, 5. Januar 2022 19:04
An: java400-l@xxxxxxxxxxxxxxxxxx
Betreff: RE: RUNJVA parameter length only 256

How long of a command line do you need ?

Call your java app via STRQSH perhaps.

The QSHEXEC utility I created might help because it sets up all the
multi-threading settings for you as well as log capture.
https://www.github.com/richardschoen/qshoni

Otherwise look for examples that set up the multi-threading env variables.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
----------------------------------------------------------------------

message: 1
date: Tue, 4 Jan 2022 20:44:40 +0100
from: "LOGIC IT: Karl FRITZ" <k.fritz@xxxxxxxx>
subject: RUNJVA parameter length only 256

I've an issue, that i get an error message when a parameter in the RUNJVA
command exceeds 256 characters.

Is that true and what can I do?


Thanks.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.