Contents - Index


 

Use VarUpperCase to  translate the value of a specified variable to upper case.

 

VarUpperCase may also be entered as VarUpp[ercase] or VUpp[ercase].

 

Required Operands

 

OBJ is the name of a previously declared character variable.

 

Return Codes

 

OK Successful.

 

Examples

 

Procedure to create a non-unique  key for a mailing database application. It takes data from global variables  LASTNAME, ZIPCODE, and CITY and returns the key in global variable KEYCODE:

 

 ------------------------------------------------------------------------

 DCL TEMP,CHAR,10,V

 SETD KEYCODE,LASTNAME,1,2

 SETD TEMP,ZIPCODE,1,5

 VAPPEND KEYCODE,TEMP

 SETD TEMP,CITY,1,3

 VAPPEND KEYCODE,TEMP

 VUPPER KEYCODE

 EXIT OK

 ------------------------------------------------------------------------