With a DYNAMIC variable a simple MOVE ‘ROBERT SHAZZ’ TO #STR will suffice.
On a mainframe, without a DYNAMIC variable, you would have to explain your desired output a bit more. Suppose #STR is defined as A20. Do you want ROBERT SHAZZ followed by binary zeroes?