Rob,  I think this was in one of the books:

/* Figure 5-2 CL program to start an application server instance  */
             PGM        PARM(&SERVER)
             DCL        VAR(&SERVER) TYPE(*CHAR) LEN(20)
             DCL        VAR(&CMDBASE) TYPE(*CHAR) +
                          VALUE('/QIBM/ProdData/WebASE/ASE5/bin/Start+
                          Server -instance ')
             DCL        VAR(&CMD) TYPE(*CHAR) LEN(200)
             CHGVAR     VAR(&CMD) VALUE(&CMDBASE *CAT &SERVER *CAT ' +
                          ' *CAT &SERVER)
             QSH        CMD(&CMD)
             ENDPGM

And to end it:

/*Figure 5-1 CL program to stop an application server instance */
             PGM        PARM(&SERVER)
             DCL        VAR(&SERVER) TYPE(*CHAR) LEN(20)
             DCL        VAR(&CMDBASE) TYPE(*CHAR) +
                          VALUE('/QIBM/ProdData/WebASE/ASE5/bin/StopS+
                          erver -instance ')
             DCL        VAR(&CMD) TYPE(*CHAR) LEN(200)
             CHGVAR     VAR(&CMD) VALUE(&CMDBASE *CAT &SERVER *CAT ' +
                          ' *CAT &SERVER)
             QSH        CMD(&CMD)
             ENDPGM


-------------------------
 Bryan Dietz
3X Corporation
614-410-9205




web400-bounces@xxxxxxxxxxxx wrote on 04/15/2003 02:37:11 PM:

> How can you start Websphere Application Server Express outside of using
> the browser administration client?  I want to be able to start it from a
> CL program.
>
> Rob Berendt
> --
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."
> Benjamin Franklin
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo.cgi/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.