Re: C++, SQLCLI: Making a remote DB2 connection

marc <marc-G5HfMHItY0AlJZD/[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
Hi Kelly,

When I connected from a linux box, the basic philosophical gist was:

  - Make sure your db2cli.ini has a system defined with the proper 
database name, ip, port, etc.
  - Use that name as the second parm to SQLConnect, along with valid 
credentials
  - Profit?

Never tried from CLI from IBM i to IBM i - WRKRDBDIRE might come into play?

Sorry, not terribly helpful - but maybe some places to start digging.

Marc

On 2/20/2014 7:38 AM, Kelly Beard wrote:
> How is this done?  A long time ago I learned enough SQLCLI to create a
> minimalist C++ class wrapper for some stuff, so I don't know enough about
> how to make a connection to another machine.  Any help?
>

-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.