9.3.14 false command (returns 1 as the return code)
Syntax
false
Description
This command returns 1 as the return code.
Note that this command accepts no options. If an option is specified, it is ignored and processing continues.
Return code
Return code |
Meaning |
---|---|
1 |
Normal termination
|
Notes
Even if the command syntax of this regular built-in command is invalid, it does not exit the shell that is executing the command.
The execution result of this command is output in the KNAX6113-I message.
Example
Set return code 1.
Contents of the job definition script
false echo $?
Contents of the STDOUT file of the execution job
******** JOB SCOPE STDOUT ******** 1