COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-128
SUBTYPE
The messages generated in accordance with the SUBSET directive are issued as a
block after each separately compiled program.
SUBTYPE
SUBTYPE causes the main program created by the current compilation to execute as
a process of a specified subtype.
subtype-number
is an integer in the range 0 through 63.
You can define the meaning and behavior of process subtypes 48 through 63.
HP defines the meaning and behavior of process subtypes 1 through 47 (see the
Guardian Programmer’s Guide).
The compiler installs the value of subtype-number in the object file header. When
the object file executes as a named process, it is assigned the process subtype
specified by the value of subtype-number. Any user can create a named process
that has a subtype in this range.
To report ... Use the directive ...
Obsolete syntax SUBSET EXTENDED, DEB1, SEG2
Syntax unlikely to be portable SUBSET HIGH, DEB1, SEG2, OBSOLETE
Note. Do not use this directive in the OSS environment.
Default: SUBTYPE 0
Placement: Anywhere
Scope: The last SUBTYPE in the program applies.
Dependencies: For the NMCOBOL compiler, SUBTYPE works only with RUNNABLE.
References: RUNNABLE
SUBTYPE subtype-number
VST323.vsd