Problem with Unsuccessful Open. Status code is 35.



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Problem with Unsuccessful Open. Status code is 35.

Postby Dashimir » Mon Dec 31, 2012 4:55 pm

Hi, I am trying to fix this but i cant find anything. Thank you in advance for any help.


 
     Original Condition:                                                       
        IGZ0035S There was an unsuccessful OPEN or CLOSE of file RETORNO in program ES0111T at relative location X'0B8C'.  Neither
FILE STATUS nor an ERROR declarative were specified. The status code was 35.   
Dashimir
 
Posts: 42
Joined: Wed Dec 26, 2012 7:27 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Problem with Unsuccessful open. The status code was 35.

Postby Dashimir » Mon Dec 31, 2012 5:13 pm

I mananged to fix, it was wrong name for the file in the execution job.
Dashimir
 
Posts: 42
Joined: Wed Dec 26, 2012 7:27 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Problem with Unsuccessful open. The status code was 35.

Postby Dashimir » Mon Dec 31, 2012 5:41 pm

FILE STATUS nor an ERROR declarative were specified. The status code was 35.
Dashimir
 
Posts: 42
Joined: Wed Dec 26, 2012 7:27 pm
Has thanked: 2 times
Been thanked: 0 time

Re: Problem with Unsuccessful open. The status code was 35.

Postby Robert Sample » Mon Dec 31, 2012 7:26 pm

If you click on the IBM Manuals link on the top right of this page, you can find the COBOL Language Reference manual. If you search section 6.1.8.9.1 of this manual, you will find the description of the file status 35 is
An OPEN statement with the INPUT, I-O, or EXTEND phrase was attempted on a nonoptional file that was unavailable.
This usually means the DD name you specified in your COBOL program does not match the DD name specified in the JCL.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post