by Robert Sample » Wed Oct 20, 2010 2:48 pm
First, terminology is critical in IT, where similar terms may mean very different things. COBOL does not have "strings" -- COBOL has variables. These variables can be alphabetic, alphanumeric, numeric, packed decimal, floating point, binary, pointers, and grouped -- but they are not strings as most languages define strings.
Second, you can use FUNCTION REVERSE as mentioned already, or you can use reference modification, or you can redefine the variable as an array of one-byte alphanumeric variables -- in the latter two cases, iterate from the end of the variable to the beginning.