From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman)
Subject: Re: Unix port to VMS
Date: 1999/01/26 [thread overview]
Message-ID: <78lits$6n9@usenet.pa.dec.com> (raw)
In-Reply-To: 78589k$lot$1@news.ncal.verio.com
In article <78589k$lot$1@news.ncal.verio.com>, "Eric Fish" <efish@ggsoftware.com> writes:
:I have a requirement to port a program which collects data on a TCP/IP
:stream and writes the data using standard C functions to the local system.
:Currently, the program works under Unix and NT.
:
:How hard would it be to port this to a VMS environment?
This question is difficult to answer -- without seeing the code.
I've seen some ports take minutes, while others take rather longer.
How long a port might take depends highly on the general portability
of the code, and particularly on exactly what the code is doing...
Things tend to get more interesting when porting code using process
control or platform-specific operations -- fork/exec, etc.
:Does the VMS environment support the standard C library and TCP/IP socket
:library?
Yes. The C runtime is present by default. The IP libraries (used
from within the C runtime) require the installation of a TCP/IP
package, such as TCP/IP Services for OpenVMS.
:Is there some type of "Unix mode" which is supported under/alongside VMS, so
:that Unix apps can be run seamlessly without having to know anything about
:VMS?
Assuming use of ANSI C calls and typical ANSI or XPG functions -- and
short of attempting to use system() to start up a platform-specific
tool -- the existing C code should work with little or no effort.
:How does one start and monitor a program from the command line in VMS?
With DCL$PATH enabled, one simply enters the executable image filename
or the name of the DCL command procedure. Without DCL$PATH enabled,
one uses the RUN command or the foreign command mechanism. See DCL1
and PROG2 in the OpenVMS FAQ.
The OpenVMS User's Guide as well as the Programming Concepts manuals
will be of interest, as will the C and TCP/IP documentation.
--
The comp.os.vms newsgroup is a better spot for OpenVMS questions.
comp.sys.dec tends to have rather more traffic unrelated to OpenVMS...
-------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com
prev parent reply other threads:[~1999-01-26 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-20 5:00 Unix port to VMS Eric Fish
1999-01-20 5:00 ` Wayne W. Scott
1999-01-26 5:00 ` Hoff Hoffman [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox