468,242 Members | 1,585 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,242 developers. It's quick & easy.

Import SPF via Script

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
1 4580
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.

Similar topics

16 posts views Thread by Manlio Perillo | last post: by
1 post views Thread by mirandacascade | last post: by
10 posts views Thread by shumaker | last post: by
9 posts views Thread by fegge | last post: by
11 posts views Thread by Cecil Westerhof | last post: by
1 post views Thread by John Boy | last post: by
9 posts views Thread by rsoh.woodhouse | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.