FORTRAN Reference Manual
Utility Routines
FORTRAN Reference Manual—528615-001
15-3
FORTRANCOMPLETION Routine
message-length
is an integer expression that specifies the length of message. If you omit 
message-length, the actual length of message is used.
message
is a character expression that the FORTRAN run-time library displays on your 
process’s home terminal. message must be at least message-length characters 
if you specify message-length. If you do not specify message-length, the 
actual length of message is displayed. FORTRANCOMPLETION displays a 
maximum of 80 characters.
completion-code
is an integer expression whose value is passed as the completion-code 
parameter to STOP or ABEND.
termination-info
is an integer expression whose value is passed as the termination-info 
parameter to STOP or ABEND.
spi-ssid
is a character expression whose length is at least 12 characters and whose value 
is passed as the spi-ssid parameter to STOP or ABEND. spi-ssid is a 
subsystem ID (SSID) that identifies the subsystem that defines termination-info. 
For further information about subsystem IDs, see the SPI Programming Manual.
text-length
is an integer expression whose value is the number of characters in text. If you 
omit this argument, the actual length of text is used.
text
is a character expression whose length is at least text-length characters and 
whose value is passed as the text parameter to STOP or ABEND. If you do not 
specify text-length, FORTRANCOMPLETION uses the actual length of text.
Considerations
•
Use FORTRANCOMPLETION only in programs that specify an ENV OLD 
directive. If you call FORTRANCOMPLETION in a program that specifies ENV 
COMMON, the FORTRAN compiler does not report a warning or an error, but the 
run-time library reports an error and terminates your program.
•
All the arguments are optional. You can use or omit them in any combination.










