File status must be checked both while opening and reading
the file or only while reading the file?
Answer Posted / nagaraj ramamoorthy
As a good programming practice, it will be good if you
handle/include all possible error combination in the
program. so the file status must be checked in both cases.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What are the rules of the move verb?
Why did you choose to work with ibm mainframe cobol programming?
Describe the cobol database components?
Which Search verb is equivalent to PERFORM…VARYING?
what is the use of outrecord?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is Pic 9v99 Indicates in COBOL?
What is redefines clause in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the compute verb? How is it used?
Write a program that uses move corresponding.