What *is* the language? stat() and strerror() sound like C/C++. My C library
FM says of stat()

If unsuccessful, stat() returns -1 and sets errno to one of the following
values:
Error Code
Description
...
ENOENT
There is no file named pathname, or pathname is an empty string.

Nothing about printing a message. 

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Rick Troth
Sent: Friday, January 27, 2017 11:54 AM
To: [email protected]
Subject: Re: how to silence EDC5129I for function calls

On 01/27/17 14:48, Charles Mills wrote:
> I*think*  that generally that message is output by the application.
> The application calls strerror() which returns that string, and then 
> the application prints it. I think your argument is with the 
> application, not LE.

Sure, except the application in question is *ours* and there's no
strerror() or perror() or sprintf() for this condition. What we're dealing
with here is a call to stat() or equivalent against a file that is not there
which we will then create.


> Or perhaps I misunderstand the exact context of your question.

Or perhaps I haven't stated it well. (These things are so much easier in 
assembler or C).   :-)

-- R; <><




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

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

Reply via email to