character conversion

how do i convert lower case characters entered via user through screen into upper case and vice-versa in Cshell.

is there a function available for this

I do not know of a way to do it in C-shell. [t]csh is generally considered a poor choice for scripting purposes. See this article by Tom Christiansen. In bash or ksh you can uppercase a variable by using "typeset -u" and lowercase it using "typeset -l".

I agree that the OP should switch to a better shell. However...

#! /usr/bin/csh

echo enter string 
set x=$<

set x=`echo "$x" | \
        tr abcdefghijklmnopqrstuvwxyz  ABCDEFGHIJKLMNOPQRSTUVWXYZ`

echo x = $x
exit 0

should switch lower case to upper case.

actually we need to have GOTO in the script and this command
(GOTO) IS ONLY AVAILABLE IN cshell

SUNIL