It's a Severe run-time error. Nothing can be done about it (except make the 
appropriate correction). Well, possibly you could use an LE abend handler, but 
why?

Plain ACCEPT does not have a SELECT statement, so you can't specify FILE 
STATUS. It is not a "file" to the COBOL program, I don't think you can get at 
it with DECLARATIVES (I should check).

I think you meant S0C4, not S0C1.


On Monday, 11 July 2016 23:40:12 UTC+2, Andy Wood  wrote:
> I have seen countless ABEND0C1s due to some rookie programmer not checking 
> that an OPEN was successful.
> 
> Here, the code clearly does check:
> 
> > IGZ0017S The open of DISPLAY or ACCEPT file with environment name SYSIN was 
> > unsuccessful.
> 
> Am I the only one here to question why it would then ignore this discovery? 

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

Reply via email to