AW: RUNJVA parameter length only 256

"LOGIC IT: Karl FRITZ" <[email protected]> Thu, 6 Jan 2022 08:39:11 +0100
Newsgroups gmane.comp.lang.as400.java
Message-ID <[email protected]>
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-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org] Im Auftrag von
Richard Schoen
Gesendet: Mittwoch, 5. Januar 2022 19:04
An: [email protected]
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-DiTrGpQEJGItADg8e/3/[email protected]
----------------------------------------------------------------------

message: 1
date: Tue, 4 Jan 2022 20:44:40 +0100
from: "LOGIC IT: Karl FRITZ" <[email protected]>
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.

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com