Date Created: Thu 29-Jan-2009

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/



    JACL script returning a value to a shell script

    Lets say you have a shell script that calls a JACL script to get cluster status:

    The libe below call the JACL script and captures the output to the console in the value returnval
    returnVal=`../wsadmin.sh -f ./ccs_start_clusters.jacl $clusterName`

    In the JACL script you can have logic that will only ever put a value to the console ie (stdout) using the outs (Put String) command

    e.g a Line of JACL setting a value to the screen based on a condition etc.

    puts "running"

    this is a simple way to allow a shell script to get a value from JACL.

    Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories