Re: Compiled rexx fails on readfile

2014-02-01 Thread Jon Perryman
When you have an error in a SYSCALL command, you should display RETVAL, ERRNO and ERRNOJR. I think it's ERRNOJR that you can use with BPXMTEXT to see help information. ERRNO is a generic error number type. RC is even more generic. As for your problem, it's with the parenthesis. They represent

Compiled rexx fails on readfile

2014-01-31 Thread jan de decker
Hi list, I have a problem with a compiled simple rexx program (seee output below). I searched but could find no explanation for the rc(1) of the readfile command. The purpose is to implement this as a CGI program but for the moment it even fails the same way from the OMVS command line. The

Re: Compiled rexx fails on readfile

2014-01-31 Thread John McKown
The problem is with the way you did the readfile. You have: readfile (pathname) htmlh. You should have one of the following instead: readfile (pathname) htmlh. /* note that the (readfile) is inside the quotes, not outside */ readfile pathname htmlh. /* note lack of parentheses */ The manual

Re: Compiled rexx fails on readfile

2014-01-31 Thread Lizette Koehler
Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of jan de decker Sent: Friday, January 31, 2014 6:02 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Compiled rexx fails on readfile Hi list, I have a problem with a compiled simple rexx program (seee output below). I searched but could find

Re: Compiled rexx fails on readfile

2014-01-31 Thread Lizette Koehler
Koehler Sent: Friday, January 31, 2014 7:02 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Compiled rexx fails on readfile Jan There is a TSO REXX newsgroup that might also be helpful. If you have not done so, you can join using this URL. Go to the bottom of the WEBPAGE to join. http

Re: Compiled rexx fails on readfile

2014-01-31 Thread jan de decker
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 On Fri, Jan 31, 2014 at 2:07 PM, John McKown john.archie.mck...@gmail.comwrote: The problem is with the way you did the readfile. You have:

Re: Compiled rexx fails on readfile

2014-01-31 Thread Paul Gilmartin
On Fri, 31 Jan 2014 07:19:37 -0700, Lizette Koehler wrote: So I did a little searching and discovered a whole new REXX manual I did not know about REXX/UNIX It's precious! And, dismayingly, it's the only place that BPXWDYN is documented. Proving that Conway's Law applies to documentation as

Re: Compiled rexx fails on readfile

2014-01-31 Thread John McKown
On Fri, Jan 31, 2014 at 8:41 AM, jan de decker jan.je...@gmail.com 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

Re: Compiled rexx fails on readfile

2014-01-31 Thread jan de decker
Hi all, Thanks to a sugesstion from the list (Thanks John) I got a bit further. The stem is empty apart from the number of lines which is correct. The result is below. Anybody any ideas? j@n 9 *-* if syscalls('ON')3 L ON F 0 L 3 O 0 13 *-* pathname =

Re: Compiled rexx fails on readfile

2014-01-31 Thread Shmuel Metz (Seymour J.)
In 039e01cf1e8d$04d4a320$0e7de960$@mindspring.com, on 01/31/2014 at 07:02 AM, Lizette Koehler stars...@mindspring.com said: There is a TSO REXX newsgroup that might also be helpful. Not as much as the listserve. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Compiled rexx fails on readfile

2014-01-31 Thread Paul Gilmartin
On Fri, 31 Jan 2014 13:59:47 -0500, Shmuel Metz (Seymour J.) wrote: on 01/31/2014 at 07:02 AM, Lizette Koehler said: There is a TSO REXX newsgroup that might also be helpful. Not as much as the listserve. And for this, MVS-OE might be more relevant than TSO-REXX. -- gil

Re: Compiled rexx fails on readfile

2014-01-31 Thread Paul Gilmartin
On Fri, 31 Jan 2014 18:26:02 +0100, jan de decker wrote: Thanks to a sugesstion from the list (Thanks John) I got a bit further. The stem is empty apart from the number of lines which is correct. o How does interpreted Rexx behave? o Is the behavior the same with other input files? -- gil