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.