I guessed that the ZOC Rexx (as distinct from the Enterprise Rexx) wasn't looking in the current directory (from which the original script had been loaded) & so I placed that dir in the PATH env variable & sure enough it solved the problem.

I can use *x.zrx to invoke a *y.zrx (or a *y.rex) script as a function & can return the values passed back.

This means we have a goer with ZOC. This is a big relief !!!!

Rgds

Doug