The uploaded program defines a string "a" that contains German umlauts.
Depending on whether one uses
the output is different!
Stumbled over this problem analysing a problem in one of Walter Pachl's script, where he uses "dir" and "cd" via the cmd subcom, referring to directory entries that have an umlaut u (ü) as their trailing characters. The character via the cmd subcom mismatched the char extracted from a redirectred file, causing the Rexx program to fail on certain directories.
The output of such strings should be the same, i.e. independent of using a Rexx SAY statement or the cmd subcom like in the given example.
Using <ooRexx400_4852-x86_32-debug.exe> on a German Windows XP SP3. Default codepage in cmd.exe is therefore set to 850 (437 would be the DOS English codepage).