file status 00 is checked after opening the file or reading
the file

Answers were Sorted based on User's Feedback



file status 00 is checked after opening the file or reading the file ..

Answer / dilli

it can be used for both the situation for successful opening
and reading the file

Is This Answer Correct ?    13 Yes 1 No

file status 00 is checked after opening the file or reading the file ..

Answer / vamsi

file status codes:

41: already opened trying to open again
02:duplicate key
00:opened sucessfully
21:duplicate record

Is This Answer Correct ?    2 Yes 0 No

file status 00 is checked after opening the file or reading the file ..

Answer / srinath

File status is checked at both times i.e while opening as
well as while reading the file also.

Is This Answer Correct ?    3 Yes 3 No

file status 00 is checked after opening the file or reading the file ..

Answer / neha

no it is used for opening the file. for reading file 01 is
code generally.from successful run the code

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


what is the difference between Plan & package

3 Answers   IBM,


WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


Hi Devolopers.. i need ur help.. i have 3 years of exp in Manual testing and SQL, next month onwards i shifted in to MAINFRAME TESTING... i have ZERO Knowledge abt mainframes.... PLS SUGGEST ME WHAT I LEARN in AMEERPET? mainframe testing or mainframe total devolopment subject... AS a devoloper u know every thing tester what to do PLSSSSSSSSS help me ITS VERY URGENT...

1 Answers  


how to move the records from file to array table. give with code example

0 Answers   ADP, Syntel,






what is SYNCHRONIZATION?

3 Answers   Syntel,


COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.

7 Answers   HCL,


COMP field occupy ?

2 Answers  


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

0 Answers  


Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?

1 Answers  


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  


How do you define a variable of comp-1 and comp-2?

0 Answers  


Categories