AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | SUN | Win NT |
|
|
|
|
| X |
|
|
|
Purpose
Indicates that the entire macro is persistent.
Format
@DTW_STATIC(timeout)
@DTW_STATIC()
Parameters
Table 218. DTW_STATIC Parameters
Data Type | Parameter | Use | Description |
---|---|---|---|
integer | timeout | IN | A variable or literal string that specifies an amount of time, in seconds, that the process handling this transaction should wait for a response. |
Return Codes
Table 219. DTW_STATIC 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. |
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. |
8202 | Persistence could not be enabled. |
Usage Notes
Examples
Example 1: A call to DTW_STATIC() specifying a timeout value of 60 seconds.
@DTW_STATIC("60")