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



Hi Dan,
In this easy example we are only executing a java program in the QSH
environment.
We change the classpath, the normal output of the process, and we fix the
multi threaded value to Yes (I think that is the default value also).
Probably is the minimum that you need to execute a java program in a CL.
If I didn't understand your question, please write again. I'm not good
enough in English.

Albert Dalmau (ROCA)
albert_dalmau@roca.net




                      Dan
                      <dbcejava@yahoo.c        To:       java400-l@midrange.com
                      om>                      cc:
                      Sent by:                 Subject:  Re: qsh error: how to 
turn off the error screen?
                      java400-l-admin@m
                      idrange.com


                      12/11/2002 14:52
                      Please respond to
                      java400-l






Hello Albert,

Thank you for your reply!  Could you or someone else give me a rundown
of what this does?  I sense that you're changing three environment
variables, but only the QIBM_QSH_CMD_OUTPUT makes sense to me in the
context of what we're trying to accomplish.

Is the QSH you have at the end to be replaced by the QSH command I'm
running?

TIA, Dan

--- albert_dalmau@roca.net wrote:
>
> Hello Dan,
> I Have had the same problem and Stefan Lorei solved to me this
> summer.
> Thanks a lot Stefan. Now I can help Dan.
> With this example your output will be disabled:
>
>              PGM
>
>              DCL        VAR(&QSHCMD) TYPE(*CHAR) LEN(1000)
>              DCL        VAR(&CLASSP) TYPE(*CHAR) LEN(1000)
>
>              CHGVAR     VAR(&CLASSP) +
>
> VALUE(".:/:/QIBM/ProdData/Http/Public/jt400+
>
> /lib/jt400Access.zip:/QIBM/ProdData/Http/Pu+
>                           blic/jt400/lib/jt400.jar")
>              ADDENVVAR  ENVVAR(CLASSPATH) VALUE(&CLASSP)
>              MONMSG     MSGID(CPFA980) EXEC(DO)
>              CHGENVVAR  ENVVAR(CLASSPATH) VALUE(&CLASSP)
>              ENDDO
>
>              ADDENVVAR  ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(NONE)
>              MONMSG     MSGID(CPFA980) EXEC(DO)
>              CHGENVVAR  ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(NONE)
>              ENDDO
>
>              ADDENVVAR  ENVVAR(QIBM_MULTI_THREADED) VALUE('Y')
>              MONMSG     MSGID(CPFA980) EXEC(DO)
>              CHGENVVAR  ENVVAR(QIBM_MULTI_THREADED) VALUE('Y')
>              ENDDO
>
>              CHGVAR     VAR(&QSHCMD) VALUE('java -Djava.version=1.2 +
>
> xvr.app.sip.ba.poolspa.data.as400.APIProduc+
>                           cionPedido')
>              QSH        CMD(&QSHCMD)
>
>  END:        ENDPGM
>
> I hope that this can help you. Write me if you have some questions
> about
> this.
>
> Albert Dalmau (ROCA)
> albert_dalmau@roca.net

__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.







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