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 variable substitution. I can't remember if it's REXX or UNIX environment variables. Either use the parenthesis or REXX variable substitution but not both because you don't have a variable defined with the file name string. Jon Perryman. >________________________________ > From: Paul Gilmartin <paulgboul...@aim.com> > > >>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? > > > > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN