Questions tagged [jacl]

Implementation of the Tcl interpreter written in Java (Default scripting language expected by WAS administration)

Jacl

Jacl is an alternate implementation of TCL, and is written entirely in Java code.

The wsadmin tool uses Jacl V1.3.1.

Basic syntax: The basic syntax for a Jacl command is the following:

Command arg1 arg2 arg3 ...

The command is either the name of a built-in command or a Jacl procedure. For example:

puts stdout {Hello, world!} 
=> Hello, world!

In this example, the command is puts which takes two arguments, an I/O stream identifier and a string. The puts command writes the string to the I/O stream along with a trailing new line character. The arguments are interpreted by the command. In the example, stdout is used to identify the standard output stream. The use of stdout as a name is a convention employed by the puts command and the other I/O commands. stderr identifies the standard error output, and stdin identifies the standard input.

IBM Syntax Documentation

38 questions
0
votes
1 answer

wsadmin.sh reading multiline commands from stdin

Piped wsadmin can't run scripts with flow control, because in that mode a newline separates commands. Simple example from…
basin
  • 3,949
  • 2
  • 27
  • 63
0
votes
1 answer

How to create and set tcldictionary variable using tcl/java?

I am using tcl/java where I am trying to create some TCLDict object and setting that dictionary object to a dictionary variable in tcl script using setVar from TCLInterpreter. Could someone guide me how to create a TCLDictionary and setting it using…
0
votes
2 answers

Fetch JMS configurations and property values for each individual servers in WAS using wsadmin script

I need to fetch JMS configurations and property values for each individual servers of WAS using wsadmin script. Is there any IBM standard jython or jacl script is there to fetch these values ? If not, can somebody guide me how to procceed.
user3772505
  • 75
  • 1
  • 9
0
votes
2 answers

Jacl - What is the proper syntax for variable use in an option specifier

In attempting to run the following command in a Jacl script (with $APPNAME having been set prior to this call): $AdminApp install $EARFILE {-nopreCompileJSPs -distributeApp -nouseMetaDataFromBinary -nodeployejb -verbose -appname $APPNAME…
M. Khan
  • 77
  • 1
  • 9
0
votes
1 answer

Websphere Scripting - Error while SyncNode

Below is the jacl script which I use for syncing the Node in WAS 7. #Sync Node Changes puts "Begin SyncNode.." set Sync1 [$AdminControl completeObjectName type=NodeSync,process=nodeagent,node=Profile01Node600,*] set Sync2…
Vinoth
  • 133
  • 2
  • 9
0
votes
1 answer

Need help in deploying warn using WSAdmin install with JNDI

I am trying to deploy a web application using WSAdmin tool. But it is throwing an error. JACl script that I am using is : $AdminApp install /opt/www/temp/SampleApp.war {-nopreCompileJSPs -nodeployejb -server delivery -cell delivery_cell -node…
chiranjeevi
  • 73
  • 2
  • 6
0
votes
4 answers

Any way to find IBM websphere nodeagents are down

Is there any tool or script which continuously check whether IBM Websphere nodeagents are down or not. if down it could send a notification via email (concerned person). if there is any your help would be highly appreciated.
Yasir
  • 21
  • 3
-1
votes
2 answers

How to get input from user in IBM jacl scripting?

`I need to get the input from the user and display the value using IBM wsadmin scripting as jacl scripting language. Thanks in advance
Suganthan Raj
  • 2,330
  • 6
  • 31
  • 42
1 2
3