I am using this command in a CL program to display a .pdf document stored on the server. The name of the document is determined by the Cl program given the user and other parameter. All works well when the document is found in correct place. When the document is not found in the respective folder, the program just hangs.
How can I track the situation (STRPCCMD does not seem to have any error messages) where the document is not found to advise the user?