AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | SUN | Win NT |
X |
|
| X |
| X |
|
| X |
Purpose
Creates a new Web registry.
Format
@DTWR_CREATEREG(registry, security)
@DTWR_CREATEREG(registry)
Parameters
Table 196. DTWR_CREATEREG Parameters
Data Type | Parameter | Use | Description |
---|---|---|---|
string | registry | IN | The name of the registry to create.
Restriction: Do not use special characters such as the asterisk (*) and the backslash (\) in Web registry names. |
string | security | IN | The type of security with which to create registry. On UNIX operating systems, the default security is the same as the directory where the registry is created. Specify security for the three security groups: user, group, and public. R gives read permission, W gives write permission, and X give execute permission. For example, to give all three groups full authority, specify *RWX, *RWX, *RWX for this parameter. This parameter it optional. |
Return Codes
Table 197. DTWR_CREATEREG Return Codes
Return Code | Explanation |
---|---|
-1001 | The server could not process a Net.Data request to allocate memory. |
1001 | An input parameter contained a NULL value. |
1002 | An input parameter contained a string value which consisted of the null-terminating character. |
1003 | An incorrect number of parameters were passed on a function call. |
1005 | A parameter passed on a function call, required to be a string variable, was of a different variable type. |
1007 | A parameter contains a value which is not valid. |
3002 | A Web registry built-in function could not delete the specified registry. |
3006 | A Web registry built-in function could not create the specified registry because a path in the registry name does not exist. |
3007 | A Web registry built-in function could not complete the specified operation because the requestor does not have the proper authority to the specified registry. |
3008 | A Web registry built-in function could not create the specified registry for unknown reasons. |
Examples
Example 1:
@DTWR_CREATEREG("myRegistry")
Example 2:
@DTWR_CREATEREG("URLLIST", "*RWX, *RWX, *R")