Connecting Tech Pros Worldwide Forums | Help | Site Map

Import SPF via Script

Newbie
 
Join Date: Jul 2007
Posts: 1
#1: Jul 13 '07
Hi folks; my first post. I'm a total DB2 newbie who works as a Packager. I've created a package that installs DB2 (old version which I can find out if need be) along with some other apps. I'm trying to import an SPF file as part of the package to pre-populate some DB connection info; it's easy to do via the Configuration Client GUI but I need to do it via the command line. Any ideas? Any help is appreciated.

Newbie
 
Join Date: Aug 2008
Posts: 1
#2: Aug 18 '08

re: Import SPF via Script


VBS Script

Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "%comspec% /c C: & cd \ & cd program files\sqllib\bin & db2cfimp.exe db2connect.spf"
Reply


Similar DB2 Database bytes