AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | SUN | Win NT |
|
|
|
|
| X |
|
|
|
Purpose
Closes a Web registry
Format
@DTWR_CLOSEREG(registry)
Parameters
Table 194. DTWR_CLOSEREG Parameters
Data Type | Parameter | Use | Description |
---|---|---|---|
string | registry | IN | The name of the registry to close.
Restriction: Do not use special characters such as the asterisk (*) and the backslash (\) in Web registry names. |
Return Codes
Table 195. DTWR_CLOSEREG 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. |
3005 | A Web registry built-in function could not use the specified registry because it cannot be found. |
Examples
Example 1: Close a registry
@DTWR_CLOSEREG("/qsys.lib/mylib.lib/myreg.file")