Skip to main content

skip to main content

developerWorks  >  Information Management  >

DB2 UDB Scripting with Windows Scripting Host

developerWorks
Document options

Document options requiring JavaScript are not displayed

Sample code


Rate this page

Help us improve this content


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.





Back to top


Downloads

DescriptionNameSizeDownload method
Technical article0311fierros.pdf272KBFTP|HTTP
Readme filereadme.pdf105KBFTP|HTTP
Code samplelistings.zip49KBFTP|HTTP
Information about download methodsGet Adobe® Reader®


About the author

Photo: Chris Fierros

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


Please take a moment to complete this form to help us better serve you.



 


 


Not
useful
Extremely
useful
 


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!



Back to top