By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,756 Members | 1,721 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,756 IT Pros & Developers. It's quick & easy.

Import SPF via Script

P: 1
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.
Jul 13 '07 #1
Share this Question
Share on Google+
1 Reply


P: 1
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"
Aug 18 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.