Firstly, given that InterCall is a C-API I am puzzled what you are doing and 
exactly why you need to use it? As a C client application, you could only 
invoke it from UV via UV shell or via GCI call. Which are you doing?

Secondly, UniRPC and it predecessor - UVRPCD has virtually always required that 
the client API version be an exactly major version match with the daemon 
(server) version - otherwise it usually refused connections. Historically, that 
has been the case. Such, you can connect ICI client 9.5.x to UniRPC or UVRPC 
higher or lower versions.

What version of the InterCall manual are you using?? Extract from Page 2-3 of 
"InterCall Developer's Guide" Version 10.3 Feb 09:
<QUOTE>
"Server Sessions
An InterCall client can support up to 10 simultaneous sessions on different 
database servers.
Open a session on a database server using one of the following functions:

- ic_opensession
- ic_unidata_session
- ic_universe_session

These functions return a unique session identifier for the new session. Each 
time you
use one of these functions to open a new session on the server, the new session
becomes the current session on which subsequent InterCall functions act."
</QUOTE>

Finally, you may find using BCI and calling BASIC subroutines as SQL Stored 
Procedures - as it is far easier to do. UniRPC versions will haunt you again, 
no doubt. I have done that before and works quite well (same UV versions 
though). Also easier to maintain and more readable by non-C application 
programmers (or wannabe ones!)... C can get you into all kinds of grief if you 
don't know what you're doing!

Regards,
David



-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Wolverton 
Sent: Friday, 8 January 2010 2:24 AM
To: 'U2 Users List'
Subject: Re: [U2] UniRPC returning 39125

BUT UniRPC is for both UniData and UniVerse... how does IT know which to
connect to??

DW

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: Thursday, January 07, 2010 4:42 AM
To: 'U2 Users List'
Subject: Re: [U2] UniRPC returning 39125

I don't think ic_opensession itself knows - it will connect via a socket to
unirpcd which itself will know that it is unidata and do the correct thing.

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David Wolverton 
Sent: 06 January 2010 20:50
To: 'U2 Users List'
Subject: Re: [U2] UniRPC returning 39125

Yes I can -- so the problem is not 'UniData' as much as it is the
'ic_opensession' 'knowing' that it's in a legit UniData account (somehow!)

I just sent a support ticket to Rocket to see what they say....

DW

************** IMPORTANT MESSAGE *****************************       
This e-mail message is intended only for the addressee(s) and contains 
information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, 
do not use or
disclose the contents, and delete the message and any attachments from your 
system. Unless
specifically indicated, this email does not constitute formal advice or 
commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please 
reply to this
e-mail by typing Unsubscribe in the subject line. 
**************************************************************



_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to