MPE/iX Shell and Utilities Reference Manual, Vol 1

mv(1) MPE/iX Shell and Utilities mv(1)
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 Failure due to any of the following:
— argument had trailing / but was not a directory
— file could not be found
— input file could not be opened for reading
— output file could not be created or opened for output
— read error occurred on an input file
— write error occurred on an output file
— input and output files were the same file
— input file could not be unlinked
— input file could not be renamed
— fatal error was encountered when using the –r option
Possible fatal –r errors include the following:
— inability to access a file
— inability to read a directory
— inability to remove a directory
— inability to create a directory
— a target which is not a directory
— the source and destination directories are the same
2 Failure due to any of the following:
— invalid command line option
— too few arguments on the command line
— a target that should be a directory but isn’t
— no space left on target device
— out of memory to hold the data to be copied
— the inability to create a directory to hold a target file
Messages
Message: cannot allocate target string
Cause: mv has no space to hold the name of the target file.
Action: Free up more system resources.
Message: cannot allocate I/O buffer: system error
Cause: See syserror(3).
Action: See syserror(3).
Commands and Utilities 1-387