In pseudocode, you can use the `toUpperCase` method to convert a string to all uppercase letters. Here is a pseudocode statement that assigns an all uppercase version of `str1` to the `str2` variable:
str2 = str1.toUpperCase()
In shell-script, you can use the `tr` command to convert a string to all uppercase letters. Here is a shell-script statement that assigns an all uppercase version of `str1` to the `str2` variable:
str2=$(echo $str1 | tr '[:lower:]' '[:upper:]')
Both of these statements will take the value of `str1`, convert it to all uppercase letters, and assign the result to the `str2` variable.