Create a DSN on the server and use that in your linked server definition.
Here is the script I use to connect, with your information inserted:
Execute master.dbo.sp_addlinkedserver
@server = N'AvatarPMLive'
,@srvproduct = N'MSDASQL'
,@provider = N'MSDASQL'
,@datasrc = N'{DSN Name}' -- replace this with the DSN you created
,@provstr = N'DRIVER={Intersystems
ODBC};Server=myCacheServer;Port=1972;Database=myCacheDB';
Execute master.dbo.sp_addlinkedsrvlogin
@rmtsrvname = N'AvatarPMLive'
,@useself = N'False'
,@locallogin = Null
,@rmtuser = N'{username}' -- replace this with the ODBC user
account
,@rmtpassword='########' -- replace this with the actual password
for the above user account
GO
Jeff
"darcanion" <
darc...@gmail.com> wrote in message
news:01172b93-f308-4d42...@f11g2000vbf.googlegroups.com...