DTW_UPPERCASE

AIX HP-UX Linux OS/2 OS/390 OS/400 PTX SUN Win NT
X X X X X X X X X

Purpose

Returns a string in uppercase.

Format

@DTW_UPPERCASE(stringIn, stringOut)

@DTW_rUPPERCASE(stringIn)

@DTW_mUPPERCASE(stringMult1, stringMult2, ..., stringMultn)

Parameters

Table 104. DTW_UPPERCASE Parameters
Data Type Parameter Use Description
string stringIn IN A variable or literal string with characters of any case.
string stringOut OUT A variable that contains stringIn with all characters in uppercase.
string stringMult INOUT
  • On input: A variable that contains a string.
  • On output: A variable that contains the input string converted to uppercase.

Return Codes

Table 105. DTW_UPPERCASE Return Codes
Return Code Explanation
-1001 The server could not process a Net.Data request to allocate memory.
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.
1006 A literal string was passed on a function call for a parameter which was required to be an output parameter.

Examples

Example 1:

@DTW_UPPERCASE("Test", result)

Example 2:

@DTW_rUPPERCASE(string1)

Example 3:

@DTW_mUPPERCASE(string1, string2, string3)


[ Top of Page | Previous Page | Next Page | Index ]