pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
NOTE: In the following directive topics, “Default:” identifies the default for the compiler directive
itself, not for its optional parameter(s). This default applies if a program does not contain the
compiler directive at all.
ASSERTION
ASSERTION executes a procedure when the condition specified in the active ASSERT statement is
true.
assertion-level
is an unsigned decimal constant in the range 0 through 32,767.
procedure-name
is the name of the procedure to execute if both:
• The condition defined in the active ASSERT statement is true.
• assertion-level is less than the assert-level in the active ASSERT statement.
This procedure must not have parameters.
NoneDefault:
Placement:
• Anywhere in the source file (not in the compilation command)
• Must be the last directive on the directive line
Applies until another ASSERTION overrides itScope:
Has no effect without the ASSERT statementDependencies:
ASSERT (page 200)References:
ASSERT (page 200) explains how to use the ASSERTION directive and the ASSERT statement together.
BASENAME
This directive can be used only with the EpTAL compiler.
BASENAME specifies that when an instrumented object file is run, the raw data file created by the
running process will contain only the base part of the source file name and not the full file path.
For detailed information about using the BASENAME option when performing profile-guided
optimization, see the Code Profiling Utilities Manual.
The raw data file contains the full path name of the source fileDefault:
Only on the command linePlacement:
Applies to the compilation unitScope:
ASSERTION 381










