Re: Running c4gl programs
Posted in 1996
Pete,
Unless you can get the version 6.0x DB-Access to communicate with
the 7.1x OnLine system, showing that DB-Access works but I4GL does
not only shows that 7.1x software is self-consistent.
I think you will need to use a network connection to get the 6.0x I4GL to
work with the 7.1x OnLine. Using network connections, you can get amazing
but totally unsupported combinations of software to work together (eg 7.1x
DB-Access and 4.1x OnLine and I-Star). Using the shared memory connection
requires the software to have a much more intimate knowledge of what is
going on, and I don't think the 6.0x products can work correctly with the
7.1x (or later) products using shared memory connections.
Obviously, with a network connection, you have to revise your sqlhosts
entry, and you will need to ensure that you have the OnLine system
configured to monitor network connection requests, etc. You may need to
revise the service name parts of /etc/services (or NIS, ...) as well as the
sqlhosts file.
Basically, I think that the Informix support people were pointing you in
the right direction. The connectivity via the network should work.
FWIW: get the network connectivity working via DB-Access (create a new
entry in sqlhosts for the new connectivity method and set INFORMIXSERVER
appropriately). This should be relatively straight-forward. Then test the
I4GL connectivity -- it should be trivial. If you are still having
problems, tell me which platform you're using, and include /etc/services,
$INFORMIXDIR/etc/sqlhosts, $INFORMIXDIR/etc/$ONCONFIG, etc, and I'll see if
I can spot the obvious errors:-)
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
>From: stiglich@interserv.com
>Date: 8 Aug 1996 03:15:44 GMT
>X-Informix-List-Id: <news.26945>
>
>Hello,
>
> I am having problems running c4gl program on an Online 7.13 server, with
> version 6.04 of 4gl. We are porting from a Online 5.05/4.10 4gl.
>
> The error I get when I try to run the program is -25588, which says
>
> "The appl process cannot connect to Online Server online_dev"
>
> I have my INFORMIXSERVER variable set correctly & can access the
> database from dbaccess. I am using onipcshm as my nettype.
>
> Informix suggested changing the net type to tcp or tli, but I was unable to get them
> to work.
>
> Does anyone have any experience with the above error message, or any
> other problems I might encounter in this transition? Any help would be
> gratefully accepted. Also, we are porting the application to a Solaris 2.5 machine
> from a SunOs 4.1.3. I've copied the .4ge file from the SunOs machine &
> ran it succesfully via binary compatability mode. Are there any pitfalls, performance
> or otherwise to running the old programs on the new machine?
>
>Thanks in advance.
>
>Pete Stiglich