The Question is:
I am working on a fairly simple command procedure to reset some passwords. I
have defined the Authorize utility as a foreign command and it executes
properly. I would like to test the result of the authorize command execution,
but the STATUS value does
not seem to be set. Here is a "snippet" of the code:
$ AUTH = "$SYS$SYSTEM:AUTHORIZE"
$ AUTH MODIFY 'USERNAME/PASSWORD='PASSWORD
$ SHOW SYM $STATUS
When this code executes, the AUTH line generates a standard VMS error message,
but the STATUS value seems to be totally unrelated to the result of the AUTH
Does AUTHORIZE not set the $STATUS variable properly?
The Answer is :
Correct. AUTHORIZE does not always set $STATUS as expected.