nld and noft Manual

nld Diagnostic Messages
nld and noft Manual520384-003
10-9
Terms That Appear in nld Diagnostic Messages
segment. A segment is a portion of an object file that can be considered as a single entity
for purposes of loading the program into memory, even though the segment itself can
contain multiple sections.
The data segment contains all the data sections, except for read-only data.
In a relinkable file, the text segment contains all the text as well as the read-only data.
In a loadfile, the resident procedures are broken out of the text segment and placed
instead into the resident text segment. If there is a resident text segment, the read-only
data section is placed there, rather than in the text segment.
shared run-time library. See SRL (shared run-time library) on page 10-9.
small data. Data is categorized as large or small. The compiler determines if a given data
item will be large or small; it is beyond the scope of this manual to explain the syntax of
specific languages.
Small data can be referenced more efficiently at run time, but there is a limit of 64K
bytes to the total amount of small data that a program can have. This can be the
reason for an error message; the correction might be to recompile some or all of your
files to use less small data.
SRLs and user libraries are not permitted to contain small data.
If a data item is defined more than once, it must not be large one time and small
another time. It is also an error for a data item to be defined as large data and
elsewhere declared as small data (the reverse of this situation is not considered an
error). See declare/declaration on page 10-3 and define/definition on page 10-4.
SQL (Structured Query Language). This is the name of an industry-standard language for
accessing databases. Object files contain RTDUs as part of the HP implementation of
SQL.
SRL (shared run-time library). An SRL is classified as a type of loadfile, but it is not a main
program. Instead, it provides code and/or data that is present at run time when a main
program runs. That main program is called a client of the SRL. One SRL can also be a
client of another SRL.
It is possible to build a client while some of the needed SRLs are missing or out of
date, which could lead to nld warnings about not being able to “fix up” the client to its
SRLs, but this should not happen often to typical users. If it is only a warning message,
rather than an error, running the program should still be possible.
In environments other than the Guardian environment, an SRL is typically given the
.srl filename suffix.