pmrep Return Codes
pmrep indicates the success or failure of a command with a return code. Return code “0” indicates that the command succeeded. Return code “1” indicates that the command failed. Some commands perform multiple operations. For example, AddToDeploymentgroup adds multiple objects to a deployment group. In these cases, a Return code “0” indicates that the command was executed successfully even if only some of the objects were deployed successfully.
Enter one of the following DOS or UNIX echo commands immediately after running the pmrep command:
In a DOS shell, enter echo %ERRORLEVEL%
In a UNIX Bourne or Korn shell, enter echo $?
In a UNIX C shell, enter echo $status