 | Level: Introductory Chris Fierros, DB2 Solutions Expert and principal consultant, Ten Digit Consulting
20 Nov 2003 This article is the second in a series of articles covering the topic of DB2 UDB and Windows Scripting. The purpose of this article is to explore in detail how to write DB2 UDB scripts with the Windows Scripting Host (WSH) environment.
Introduction
In this article we will cover in detail the more popular languages available for scripting on Windows, including Jscript and VBScript, that can be used to develop and deploy DB2 UDB scripts within the Windows Scripting Host (WSH) environment.
Topics covered include:
- Windows Scripting host
- Scripting languages, JScript and VBScript
- Scripting scenarios
Important: Read the disclaimer before reading this article.
Disclaimer
This article contains sample code. IBM grants you ("Licensee") a non-exclusive, royalty free, license to use this sample code. However, the sample code is provided as-is and without any warranties, whether EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. IBM AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE THAT RESULT FROM YOUR USE OF THE SOFTWARE. IN NO EVENT WILL IBM OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF IBM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Downloads | Description | Name | Size | Download method |
|---|
| Technical article | 0311fierros.pdf | 272KB | FTP | HTTP |
|---|
| Readme file | readme.pdf | 105KB | FTP | HTTP |
|---|
| Code sample | listings.zip | 49KB | FTP | HTTP |
|---|
About the author  | 
|  | Chris Fierros
is a DB2 Solutions Expert and principal consultant at Ten Digit Consulting, Inc. (www.tendigit.com), specializing in consulting, training, and support services for DB2 Universal Database. Chris began his career with DB2 on distributed platforms in 1991 at IBM Corporation and has since published articles, presented at conferences, delivered training, and written books about DB2 UDB. Chris is an IBM Certified Solutions Expert (ICSE) in DB2 UDB Administration and DB2 UDB Development as well as an IBM Certified Advanced Technical Expert (CATE) in DB2 Clustering, DB2 Replication, and DB2 Connect. You can reach him at chris at tendigit.com. |
Rate this page
|  |