On both VMS
and UNIX
systems, FORTRAN source code may include NBS
error codes and NBS
public
constants using the symbolic names NBS_ERR
and NBS_PAR
respectively. On VMS
these are logical
names and UNIX
the appropriate symbolic links can be made in your current directory by
typing,
These links can be deleted using nbs_dev remove
if required.
The error codes are standard VMS
ones and use facility number 1802. This number is one of the ones
allocated to the AAO. See Appendix C for a list of the symbolic error codes.
VMS
NBS
can be linked either in a stand-alone or ADAM fashion. The approriate link commands
are,
The following LINK
options file is used stand-alone,
and this one for linking with ADAM
,
If you are linking in lots of other sub-systems as well, you may need to incorporate these lines into
your own options file (unfortunately, LINK
options files cannot be nested).
UNIX
The linking process on UNIX is even simpler than that of VMS
. To link against the stand-alone version
simply append a ‘nbs_link‘ to the compiler or loader command line.
Similarly for the ADAM
version,