COBOL Manual for TNS and TNS/R Programs

Program Compilation
HP COBOL Manual for TNS and TNS/R Programs522555-006
11-118
SHOWFILE and NOSHOWFILE
SHOWFILE and NOSHOWFILE
SHOWFILE
displays the identity of the file from which source text is being read under the
control of the SOURCE directive.
NOSHOWFILE
suppresses the display of the identity of the file from which source text is being
read under the control of the SOURCE directive.
SHOWFILE applies only to source file transitions due to the effect of SOURCE
directives. The compiler does not generate lines to report transitions caused by COPY
statements.
Whenever the compiler begins reading a different source file in response to a
SOURCE directive and whenever it resumes reading from the prior source file after a
SOURCE directive’s effect terminates, it inserts a line of this format into the listing:
n
is the file ordinal assigned by the compiler to the source file. Every time the
compiler encounters a SOURCE directive, it increments the value of n by 1.
file-name
is the fully qualified source file name.
yyyy-mm-dd
is the date when the source file was last modified.
hh:mm:ss
is the time when the source file was last modified.
Default: NOSHOWFILE
Placement: Anywhere
Scope: Applies until its opposite overrides it
Dependencies: None
Source file: [n] file-name yyyy-mm-dd hh:mm:ss
SHOWFILE
NOSHOWFILE
VST311.vsd