COBOL Manual for TNS and TNS/R Programs
Compiler Directives
HP COBOL Manual for TNS and TNS/R Programs—522555-006
36-23
LIBRARY
LIBRARY
LINES
Default: None
Placement: The compiler accepts it anywhere, but to be effective, it must be before
the main program.
Scope: Applies to the compilation unit
Dependencies: None
Note. The NMCOBOL compiler ignores this directive and issues a warning.
Default: None
Placement: Anywhere, but the COBOL85 compiler and the Binder do not propagate
LIBRARY from called to calling programs; therefore, calling programs
cannot reference library objects in called programs unless you use one
of these methods:
•
Use a separate bind step on the final object with a SET LIBRARY
file-name command.
•
Use the LIB parameter on the RUN command.
•
Specify the LIBRARY directive on the main compilation.
Scope: The last LIBRARY applies to the loadfile produced by the compilation.
Dependencies: None
Default: LINES 60
Placement: Anywhere
Scope: Applies until another LINES overrides it
Dependencies: LINES works only if paging applies to the compilation list device.
LIBRARY file-name
VST289.vsd
LINES lines-per-page
VST290.vsd