Services: DevOps Thought Leadership | JEE Consulting
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.
this is a simple way to allow a shell script to get a value from JACL.
Steve Robinson has been working in IT for over 20 years and has
provided solutions for many leading brands around
the world. Steve specialises in JEE, DevOps and Thought Leadership.
In January 2013, I was awarded the prestigous
'IBM Champion' accolade.
IBM WebSphere Application Server 8.0 Administration Guide
WebSphere Application Server 7.0 Administration Guide
Contact | Articles | Shell Scripts | Java Code | JACL | Jython | WebSphere MQ | WebSphere Message Broker | WebSphere Blog | © Copyright 2006-2013 Robinson (UK) Limited