For my TSO test I did a DDLIST and freed the SYSIN allocation.  Once that was 
done I executed my program: TSO CALL 'DVFJS.APPLIB.LOAD(ACC)'.  The following 
are the results:


IEC130I SYSIN    DD STATEMENT MISSING
IGZ0017S The open of DISPLAY or ACCEPT file with environment name SYSIN was 
unsuccessful.
         From compile unit ACC at entry point ACC at statement 7 at compile 
unit offset +000002A6 at entry offset +000002A6 at
         address 0E9082A6.
User abend 4,038 dec occurred processing command 'CALL    '.
ISPD210  CMD abended - 'CALL' terminated abnormally.


So... Same results as in batch.  No S0C1.


Frank

________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Frank Swarbrick <[email protected]>
Sent: Thursday, July 14, 2016 9:38 AM
To: [email protected]
Subject: Re: Error in a simple COBOL program

I can't see to find the original post that started all of this.  Can someone 
find it and quote it here?

The reason I ask is I swear that the original issue was a compile time issue, 
not a run-time issue.

Or perhaps I'm mixing up two different conversations.


FWIW, I'm going to see what happens if I run my example in TSO.

Frank

________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Andy Wood <[email protected]>
Sent: Wednesday, July 13, 2016 6:55 PM
To: [email protected]
Subject: Re: Error in a simple COBOL program

On Wed, 13 Jul 2016 18:08:46 -0500, Bill Woodger <[email protected]> wrote:

> "IGZ0017S The open of DISPLAY or ACCEPT file with environment name SYSIN was 
> unsuccessful."

That message is indeed specific, but it does not exactly scream out "... expect 
operation exception to follow this message."

> Program outside of TSO then gets an LE User Abend (U4038). No S0C1.

Cameron, the person with the original problem, got the S0C1 when running the 
program under TSO.

Frank, who was kind enough to recreate the situation, did not get the S0C1 but 
was running it as a batch job.

As far as I can see, and this is perhaps where I missed something, Cameron did 
not try the program in batch, and nor did Frank try it under TSO.

Myself, I would not spend much time on it, but I wouldn't just ignore it 
either. But, enough said.

----------------------------------------------------------------------
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

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

Reply via email to