If successful, ierror is set to zero; otherwise, an error code.
The PXFGETARG subroutine places the command-line argument with number argnum into character string str. If argnum is equal to zero, the value of the argument returned is the command name of the executable file.