HP Fortran Programmer's Reference (September 2007)

Execution control
Flow control statements
Chapter 6152
To resume execution, execute a kill -15
pid
command.
pid
is the unique process identification number of the suspended program. The kill
command can be issued at any terminal at which the user is logged in.
Example
PAUSE 999
STOP statement
The STOP statement terminates program execution.
Syntax
STOP [
stop-code
]
where
stop-code
is a character constant, a named constant, or a list of up to 5 digits.
Execution logic
Program terminates execution. If
stop-code
is specified, the following is written to standard
output:
STOP
stop-code
Example
STOP ”Program has stopped executing.”