9.3.28 true command (returns 0 as the return code)
Syntax
true
Description
This command terminates successfully, returning 0 as the return code.
This command accepts no options. If an option is specified, it is ignored and processing continues.
Return code
Return code |
Meaning |
---|---|
0 |
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 the return code to 0.
Contents of the job definition script
true echo $?
Contents of the STDOUT file of the execution job
******** JOB SCOPE STDOUT ******** 0