NET/MASTER Network Control Language (NCL) Programmer's Guide

Accessing the User ID Management Services (UMS) Database
Advanced NCL Programming
106160 Tandem Computers Incorporated 18–3
Table 18-2. SECCALL Verb Return Codes in &SYS.RETCODE (Page 2 of 2)
Return Code SECCALL EXIT SECCALL GET SECCALL QUERY SECCALL UPDATE
0 * Record retrieved
successfully.
Information obtained
successfully.
Record updated
successfully.
4 * Error occurred, not
retrieved, further
information available in
&SYSMSG.
Error occurred, not obtained,
further information available
in &SYSMSG.
Error occurred, not
updated, further
information available in
&SYSMSG or
&SYS.ERROR.TEXT.
8 * Not used. Not used. Not used.
12 * Not used. Not used. Not used.
16 * Not used. Not used. Not used.
20 * Not used. Not used. Not used.
24 * Not used. Not used. Not used.
28 * Not used. Not used. Not used.
* Return codes from 0 through 99 may be returned, depending on the security exit. If error occurred, further information is available
in &SYSMSG or &SYS.ERROR.TEXT.
Adding a Record The SECCALL ADD verb adds a user ID definition record to the UMS database. You
can add an individual user ID definition record, a group user ID definition record, or a
model user ID definition record.
Adding an Individual User ID Definition Record
An individual user ID definition record uniquely identifies a single user of a NonStop
NET/MASTER MS system. Individual users can log on to NonStop NET/MASTER
MS. User ID definition records for individual users require a password.
When you add an individual user ID definition record, the SECCALL ADD verb
requires that you specify a unique user ID, a new password, and a type of USER.
The following example uses the SECCALL ADD verb to add an individual user ID
definition record to the UMS database:
SECCALL ADD USERID=MYID1 NEWPWD=MYPWD1 TYPE=USER MDO=&abc.
Specifying a Username. Although not required syntactically by the SECCALL ADD verb,
when you add an individual user ID definition record, you must also specify a user
name. The user name is required by UMS.
You must explicitly specify the user name for the user in an MDO variable using an
assignment statement before executing the SECCALL ADD verb. The following
assignment statement assigns a user name to an MDO variable:
&abc.username = MYNAME