InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.4: Example wscp commands, procedures, and scripts

6.6.0.2.2.4: Example wscp commands, procedures, and scripts

This section contains example wscp commands, Tcl procedures, and Tcl scripts. You can use these examples as provided, or customize them to develop procedures and scripts suited to your application. Many of the procedures and scripts are available as stand-alone files in 6.6.0.2.2.5: Sample Tcl procedures and scripts.

Note that not all wscp commands are represented in these examples. The examples are intended to demonstrate only the more frequently used commands (such as commands for creating and installing application servers or displaying the attributes of an object). The examples include several custom procedures and other files that offer guidance in developing your own scripts and procedures.

Consult the wscp command-line help for a complete list of operations for each object type.

The following list contains a description of the administrative task that each example performs; states whether the example is a stand-alone wscp command, a Tcl procedure, or a Tcl script; and includes the name of the Tcl procedure or script.

Note:
Many of the example scripts and procedures require that the file init.tcl be loaded prior to running. This file initializes several variables used elsewhere and contains useful Tcl procedures for accessing attributes, obtaining error status information, and other tasks. See 6.6.0.2.2.4.1: Initialization and general-purpose procedures for a description of the contents of this file.
Go to previous article: 6.6.0.2.2.3.14: Where to find more information about Tcl Go to next article: 6.6.0.2.2.4.1: Initialization and general-purpose procedures

 

 
Go to previous article: 6.6.0.2.2.3.14: Where to find more information about Tcl Go to next article: 6.6.0.2.2.4.1: Initialization and general-purpose procedures