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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is report-item in COBOL?

713


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1812


How are the next sentence and continue different from each other?

768


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

429


IF I mention stop run in CICS what happens?

1900






how do you reference the rrds file formats from cobol programs

805


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

637


Write down the divisions of cobol program?

673


How can you get the ksds file records into your cobol program?

646


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

714


What are different data types in cobol?

699


What are the rules of the move verb?

710


How you can characterize tables in cobol?

727


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

687


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

722