drlex:
Thanks for the previousposts, have been a help here is the line for login that I still am having trouble with.
objImpApp.OpenCatalog "n:\Prime\Cognos\catalogs\daily.cat","Creator",,"sa",
This returns an error Error number -9:
DMS-E-GENERAL, A general exception has occurred during...