On Sat, 1 Feb 2014 21:37:16 -0800, Jon Perryman wrote:

>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.
> 
RC is different.  If RC<>0, no system call was issued, and ERRNO and ERRNOJR
are meaningless.

There's a pseudo-syscall, "strerror", which is similar to BPXMTEXT and
similarly useful.

>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.
> 
Answered long ago.  The OP repaired the syntax and a new problem
arose; unexplained; discussion continued on MVS-OE.

-- gil

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

Reply via email to