file status 00 is checked after opening the file or reading
the file
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
what is rediffine clause?in what situation it can use?give me real time example?
what is the difference between Plan & package
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.
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...
how to move the records from file to array table. give with code example
what is SYNCHRONIZATION?
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
COMP field occupy ?
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)?
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?
File status must be checked both while opening and reading the file or only while reading the file?
How do you define a variable of comp-1 and comp-2?