Operating System - OpenVMS
1752762 Members
4641 Online
108789 Solutions
New Discussion юеВ

Re: undefined symbol error while defining account ownership.

 
shiva27
Frequent Advisor

undefined symbol error while defining account ownership.

Hi All Good morning,

For account profile management we've different team, he is trying to change the ownership of account as per management requirement.
Case1:When he tried to change ownership as
uaf>modify use1/owner="robert"

Case2:
uaf>modify use1/owner="+robert"
When he tried to change ownership same but including + sign, getting undefined sysmbol error

I'm managing this server and i'm able to do this both way successfully.My account having system privileges but security team user having only "NETMBX,SECURITY,SYSPRV and TMPMBX privileges.
Can you pl. sugget wht could be issue.
43 REPLIES 43
shiva27
Frequent Advisor

Re: undefined symbol error while defining account ownership.

make correction Please:

In case 1: security team user able to changed the owenership.

In case 2:they are getting error UNDEFINED symbol.
John Gillings
Honored Contributor

Re: undefined symbol error while defining account ownership.

shiva,
Could you please post the exact command(s) you're issuing and the exact error?

According to HELP:

MODIFY

/OWNER

/OWNER=owner-name

Specifies the name of the owner of the account. You can use this
name for billing purposes or similar applications. The owner name
is 1 to 31 characters. No default owner name exists.


I don't see any limitations on the character set.
A crucible of informative mistakes
shiva27
Frequent Advisor

Re: undefined symbol error while defining account ownership.

UAF>mod user2 /owner="+rg9472robert"
%DCL-W-UNDSYM, undefined symbol - check validity and spelling
├В \RG9472robert\
%DCL-W-UNDSYM, undefined symbol - check validity and spelling
├В \RG9472robert\
%DCL-E-INVIFNEST, invalid IF-THEN-ELSE nesting structure or data inconsistency
Karl Rohwedder
Honored Contributor

Re: undefined symbol error while defining account ownership.

Since there is an if-then-else error I assume, this is part of DCL procedure. You should show us the real proc.
It is no problem to set the owner to 'strange' characters, e.g.:

UAF> mod rohwedder/owner=")(/+*~'├Г ├Г _:;+"
%UAF-I-MDFYMSG, user record(s) updated

regards kalle
Steven Schweda
Honored Contributor

Re: undefined symbol error while defining account ownership.

> Could you please post the exact command(s)
> you're issuing and the exact error?

> UAF>mod user2 /owner="+rg9472robert"

The "UAF>" prompt does not tell us how you
got the "UAF>" prompt.

> %DCL-W-UNDSYM, undefined symbol - check validity and spelling

Apparently you're running some (defective)
command procedure, but my psychic powers are
too weak to tell me much more than that.

Note that if you were running the (real)
AUTHORIZE utility, you wouldn't get a DCL
complaint. For example:

ALP $ mcr authorize
UAF> mod user2 /owner="+rg9472robert"
%UAF-W-BADSPC, no user matches specification
shiva27
Frequent Advisor

Re: undefined symbol error while defining account ownership.

I gone thru script found "UAF>" prompt getting by menu : Below is part of script,

---------------------------------------
$ if p1 .eqs. "A" then SYS_OPTION :== RUN_AUTHORIZATION ! Authorization


$RUN_AUTHORIZATION:
$ on warning then continue
$ ask "UAF>" action
$ action = f$edit("''action'","UPCASE")
$ IF (F$EDIT(action,"UPCASE,COLLAPSE") .eqs. "EXIT") .or. (F$EDIT(action,"UPCASE,COLLAPSE") .eqs. "EX") THEN GOTO select_sys_option
$!
$ IF (F$LOCATE( "/PA", "''action'") .ne. F$length("''action'")) .or. (F$LOCATE( "/G", "''action'") .ne. F$length("''action'"))
$ then
$ Say "*** Modifying PASSWORD is not permitted"
$ goto RUN_AUTHORIZATION
$ endif
$!
$ UAF 'action'
$ goto RUN_AUTHORIZATION

----------------------------------------

Above procedure will execute while security team wants to do some changes in UAF user parameter as per my understanding.
shiva27
Frequent Advisor

Re: undefined symbol error while defining account ownership.

i executed same with set verify option,

-------------------------------------------
$RUN_AUTHORIZATION:
$ on warning then continue
$ ask "UAF>" action
UAF>modify user2/owner="+robert"
$ action = f$edit("modify user2/owner="+robert"","UPCASE")
%DCL-W-UNDSYM, undefined symbol - check validity and spelling
\robert\
---------------------------------

I thing if we set "action" string correctly then it will fix this issue.

$ask "UAF>" action
$ action = f$edit("''action'","UPCASE")

Pl.suggest how can i set action symbol correctly
Hakan Zanderau ( Anders
Trusted Contributor

Re: undefined symbol error while defining account ownership.

You have missed an "

$ action = f$edit("modify user2/owner="+robert"","UPCASE")

should be /owner=""+robert""

Hakan
Don't make it worse by guessing.........
shiva27
Frequent Advisor

Re: undefined symbol error while defining account ownership.

case1: without + sign
$action = f$edit("modify user2/owner="robert"","UPCASE")
$sh sym action
ACTION = "MODIFY USER2/OWNER=ROBERT"

case2:with +sign
$action = f$edit("modify user2/owner="+robert"","UPCASE")
%DCL-W-UNDSYM, undefined symbol - check validity and spelling
\ROBERT\