On Fri, Jan 31, 2014 at 8:41 AM, jan de decker <[email protected]> wrote:

> Hi list,
>
> John, thanks for the suggestions but the first one gives me a n rc of -1,
> the second one gives an rc of 127
>
> Anybody any idea?
>
> Thanks,
>
> j@n
>
>
Unfortunately, I don't have access to the REXX compiler. But a couple of
questions have occurred to me:
1) does your REXX program have a SYSCALLS('ON') statement to enable the
UNIX system calls?
2) do you have an ADDRESS SYSCALL standalone statement before doing the
"readfile".

You might want to prefix the "readfile" line with an ADDRESS SYSCALL
similar to

ADDRESS SYSCALL "readfile (pathname) htmlh."


-- 
Wasn't there something about a PASCAL programmer knowing the value of
everything and the Wirth of nothing?

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to