nld Manual
nld Utility
nld Manual—528272-001
2-16
Determining Which SRLs Programs Require
Determining Which SRLs Programs Require
The SRLs that a program requires depend on:
•
The run-time libraries that the program uses
•
The environment in which the program runs
The nld options that you must specify to link the SRLs that your program requires
depend on:
•
The SRLs that the program requires
•
The environment in which you are using the nld utility
Table 2-1 on page 2-16 and Table 2-2 on page 2-18 apply only to the most common
SRLs, which are:
•
C run-time library
•
C++ run-time library
•
COBOL run-time library
•
Tools.h++ library
•
NonStop TCP/IP sockets library
Your program might require additional SRLs for other run-time libraries and services.
Environment in Which You Are Using nld See
Guardian Table 2-1
on page 2-16
OSS Table 2-2
on page 2-18
Table 2-1. Using the Guardian nld Utility to Link SRLs (page 1 of 2)
Library That
Program Uses
Environment
in Which
Program
Runs nld Options to Specify
C run-time
library
Guardian -OBEY $SYSTEM.SYSTEM.LIBCOBEY
or
-l ZCRTLSRL -l ZCRESRL
OSS -OBEY $SYSTEM.SYSTEM.LIBCOBEY
or
-l ZCRTLSRL -l ZCRESRL -l ZOSSKSRL
-l ZOSSFSRL -l ZSECSRL -l ZI18NSRL
-l ZICNVSRL -l ZOSSESRL -l ZINETSRL
-l ZOSSHSRL -l ZSTFNSRL