[an error occurred while processing this directive]

HP OpenVMS Systems

Ask the Wizard
» 

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training

Quick Links

» Non-javascript page
» Ask the Wizard
» OpenVMS FAQ

Test Drive OpenVMS

» OpenVMS I64 test drive
» Java test drive

Other information resources available to you include:

» OpenVMS freeware
» ECO kits, software and hardware support, prior version support
» Alpha SRM, ARC, and AlphaBIOS firmware updates
» ENCOMPASS - HP user group
» OpenVMS software downloads, OpenVMS freeware CD-ROM
» OpenVMS firmware locations
» DECconnect passive adaptor charts
» Cables reference guide
» MicroVAX console commands
» OpenVMS student research

Select a topic below to see Questions Frequently Asked by partners

» Using the online documentation library(installing BNU from the asap SDK)
» Global sections(how to create and use.)
» xx$CREATE_BUFOBJ system service(usage)
» Ethernet address(methods of determination)
» Shareable images(cookbook approach to creating one)
» Sharing data/code at absolute addresses(a guide with examples)
» Determining the Alpha microprocessor
» Using GETSYI to get hardware status

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
HP Integrity server animation
Content starts here

Ask the Wizard Questions

DNS$ system services on Alpha

The Question is:

What is the future (if any) of the SYS$DNS system service?  It is available
for the VAX but not for the Alpha.   I want to port some code I have on the
VAX which uses this system service and am looking for suggestions.  It
appears that the same functionality is available from an DNS rtl image
distributed with DECNET V6.  Is there any documentation on DNS
programming anywhere (other than the VMS system service reference
manual)?

My current applications use DECNET and I am considering changing them to
use TCP/IP instead.   I think that I can figure how to do this, except for the
part which looks up information on a DNS server.   Is there a TCP/IP equiv.
to defining dynamic network wide information and looking it up?



The Answer is:

I have a partial answer for you.  As far as I can tell, the SYS$DNS
system service and API are still *on* AXP.  Whether they are supported
is another question, you will have to look carefully at the SPD for DECnet/OSI,
which I don't have on hand.

In trolling around on my AXP system here (version
"DECnet/OSI for OpenVMS Version V6.2") I find three examples programs
in SYS$COMMON:[SYSHLP.EXAMPLES.DNVOSI]
DNS_ADD_VALUE_TO_ATTRIBUTE.C;1
DNS_CREATE_OBJECT.C;1
DNS_READ_ATTRIBUTE.C;1

Now as to whether they really should be there given that the VMS help
says the $DNS API is only supported on VAX, I can't comment, but with a
little bit of fiddling with the function prototypes, I was able to get
one to compile and run.

As to your other questions.  If you are going to change your code to use
TCP/IP, I'll mention that DECnet/OSI now can use TCP/IP as its transport.
This allows you to keep you existing code, but run it over a TCP/IP-only
WAN.

If you are switching to TCP/IP for other reasons, you will want to check
out using the dns/BIND naming service which is the naming service used in the
IP world.  (The 'dns' in this case stands for Domain Name Service.  The
'dns' in DECdns stands for Distributed Name Service.)  I don't know of
any reference materials on any API(s?) for this, but I'm sure there
is plenty of help on usenet.  Note that the dns/BIND service is a more 'basic'
type of naming service, without some of the features of DECdns, such as the
kind of access control available with DECdns.

Lastly, I'm not sure if this document was ever publicly published, but
I have a manual called "DECnet/OSI for VMS DECdns Programming", it has
an order number of AA-PNKCA-TE, this copy is dated July 1992, and
looks like it went out with DECnet/OSI V5.6 for OpenVMS.  I do not know if it
is still in the DECnet/OSI doc set.