Operating System - OpenVMS
1828568 Members
2597 Online
109982 Solutions
New Discussion

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

 
SOLVED
Go to solution
Gosso Giovanni
New Member

Migration TCPIP services from OpenVms Vax to OpenVms Alpha

I have a program built in Fortran 77, using TCPIP services (Socket) for OpenVms Vax V 4.2 on a Vax 4000-105A running OpenVms V6.2, linked to :

SYS$LIBRARY:UCX$IPC.OLB and
SYS$SHARE:VAXCRTL.EXE


Now, I have to migrate this program to :

TCPIP services for OpenVms Alpha V5.0A on a Compaq Alpha server DS20E 500 Mhzp running OpenVms V7.2-1

Which libraries can I use to link this program instead of :

SYS$LIBRARY:UCX$IPC.OLB and
SYS$SHARE:VAXCRTL.EXE

I tried to use :

SYS$LIBRARY:VAXCRTL.OLB
SYS$SHARE:UCX$IPC_SHR.EXE

but i have some undefined symbols e.g.

%LINK-W-NUDFSYMS, 11 undefined symbols:
%LINK-I-UDFSYM, ACCEPT
%LINK-I-UDFSYM, BIND
%LINK-I-UDFSYM, CLOSE
%LINK-I-UDFSYM, GETPEERNAME
%LINK-I-UDFSYM, HTONS
%LINK-I-UDFSYM, LISTEN
%LINK-I-UDFSYM, RECV
%LINK-I-UDFSYM, SELECT
%LINK-I-UDFSYM, SEND
%LINK-I-UDFSYM, SETSOCKOPT
%LINK-I-UDFSYM, SOCKET

Thanks in advance.

Best regards

GioG
7 REPLIES 7
Bojan Nemec
Honored Contributor

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

Giovanni,

First, Welcome to the VMS forum!

I am not familiar with fortran, but try to replace SYS$SHARE:UCX$IPC_SHR.EXE with SYS$SHARE:TCPIP$IPC_SHR.EXE.

Bojan
Gosso Giovanni
New Member

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

Thank you for your help,

I can't find TCPIP$IPC_SHR.EXE in my system.

May be a patch to download ?

GioG
Karl Rohwedder
Honored Contributor

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

I think TCPIP$IPC_SHR and UCXS$IPC_SHR are both available (and identical) for compatibilty reasons (on SYS$SHARE).

Have you taken a look to the examples on TCPIP$EXAMPLES? They contain build instructions.

regards Kalle
Richard Brodie_1
Honored Contributor
Solution

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

I don't think there are any unprefixed socket routines in the library: it's probably easiest just to do a global replace of accept with decc$accept etc.

After the names are properly prefixed, the linker should find them in the default libraries.
Wim Van den Wyngaert
Honored Contributor

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

Gosso Giovanni
New Member

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

Thanks you all very much,

I solved my problem adding prefix "decc$" to all socket routines.

Best regards

GioG
Gosso Giovanni
New Member

Re: Migration TCPIP services from OpenVms Vax to OpenVms Alpha

I solved my problem adding prefix "decc$" to all socket routine-name in the calling statement.