MPE/iX - CI Programming for Stability
July 18, 2008 HP World '01 58
COMMAND intrinsic
• COMMAND is a programmatic system call (intrinsic)
syntax: COMMAND (cmdimage, error, parm)
• implemented in native mode (NM, PA-RISC mode)
• use COMMAND for system level services, like:
• building, altering, copying purging a file
• no UDC search (a UDC cannot intercept “cmdimage”)
• no command file or implied program file search
• returns command error number and error location
(for positive parmnum), or file system error number for negative
parmnum