The sample code given in the REXX Extensions document will not work/execute as given. The sample uses mixed quotes. All the quotes used must be be the same for the code to execute properly. The sample should read:
address hostemu "execio * diskr "./inputfile.txt" (finis stem in."
note the use of double quotes at the beginning and end of the execio statement.