NSPC_PUTDATA
Modify an entry’s data in a symbol table
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
xcall NSPC_PUTDATA(id, access_code, data)
or
return = %NSPC_PUTDATA(id, access_code, data)
Return value
return
Always a value of 1. (n)
Arguments
id
The ID of the symbol table. (n)
access_code
The access code of the entry. (n)
data
The user-defined data to associate with the entry. (a)
Discussion
The %NSPC_PUTDATA function modifies the user-defined data for an entry within a symbol table.
Data can be up to 100 characters in length, as defined in %NSPC_OPEN.
We recommend that you XCALL NSPC_PUTDATA instead of accessing it as a function.
See also
NSPC_GETDATA routine for retrieving an entry’s data
Examples
The following example updates the user-defined data for user.
xcall nspc_putdata(user_id, user, user_data)