ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/admin/wsajacl.htm

37 lines
1.9 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>The Jacl scripting language</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="wsajacl"></a>The Jacl scripting language</h4>
<p>Jacl is an alternate implementation of TCL, and is written entirely in Java code.</p>
The basic syntax for a Jacl command is:
<pre>Command arg1 arg2 arg3 ...</pre>
<p>The command is either the name of a built-in command or a Jacl procedure. For example:</p>
<pre>puts stdout {Hello, world!}</pre>
<p>This example demonstrates the <tt>puts</tt> command, which takes two arguments: an I/O stream identifier (stdout) and a string (Hello, world!). The <tt>puts</tt> command writes the string and a trailing new line character to the I/O stream. In Jacl, the command interprets the specified arguments. The use of stdout as a name is a convention employed by puts and the other I/O commands. Use stderr to identify the standard error output, and use stdin to identify the standard input.</p>
<p>For more information on Tcl and Jacl, see these articles:</p>
<ul>
<li><a href="http://www7b.software.ibm.com/wsdd/techjournal/0203_laird/laird.html" target="_blank">Tcl for WebSphere Application Server - Express administrators</a> <img src="www.gif" width="19" height="15" align="absbottom" alt="Link outside Information Center" border="0"></li>
<li><a href="http://www.usenix.org/publications/library/proceedings/tcl97/full_papers/lam/lam.pdf" target="_blank">Jacl: A Tcl implementation in Java</a> <img src="www.gif" width="19" height="15" align="absbottom" alt="Link outside Information Center" border="0"></li>
</ul>
</body>
</html>