I think this is wrong. The userId bif does not necesarily return the hostname (although they may be the same).
The only Rexx interpreter I have to hand is ooRexx & it produces the username for userid() which is what I would expect. Perhaps someone could test this on Regina &/or mainframe interpreters. --Sahananda 20:04, 15 June 2012 (UTC)
- I agree. I just tried with ooRexx and Regina on Mac OS X and on CMS in z/VM. "say userid()" doesn't return the host name; it returns the user ID. (No surprise there though!) -Alansam 01:46, 16 June 2012 (UTC)
- It's more normal to discuss the correctness of an example on the talk page for the task where the example is located. –Donal Fellows 16:55, 16 June 2012 (UTC)