MPE/iX Shell and Utilities Reference Manual, Vol 1

ar(1) MPE/iX Shell and Utilities ar(1)
The following options modify the behavior of the main functions:
–c suppresses the normally printed message when a new archive file is created. You can
only use this in conjunction with the –r option.
–u when used with –r, replaces the archive member only if the member file’s modifica-
tion time is more recent than the archive member time.
–v prints the command letter and the member name affected before performing each
operation. With –t, ar prints more information about archive members using a for-
mat similar to ls –l.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 An error occurred.
Messages
Message: archive is not a valid library (file code should be
NMRL)
Cause: The file code on the specified file was not NMRL
Action: Make sure that you have specified the correct file, and that it is a valid native-
mode relocatable library.
Message: can only specify one of ’drtx’
Cause: You specified more than one of the –d, –r, –t, and –x options on the command
line. You can specify only one of these options at a time.
Action: Consult the DESCRIPTION section and correct the command line.
Message: can only specify u or c with r
Cause: You specified the u or c option modifier without specifying the –r option.
These option modifiers can only be used with the –r option.
Action: Consult the DESCRIPTION section and correct the command line.
Message: can’t open library ’archive’ for modification
Cause: The program was unable to open the file with write access.
Action: Make sure that you have the necessary permissions to write this file.
Message: can’t open library ’archive’ for reading
Cause: The program was unable to open the file with read access.
Action: Make sure that you have the necessary permissions to read this file.
1-12 Commands and Utilities