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


Please Help Members By Posting Answers For Below Questions

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

2183


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?

5597


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

621


what is amode(24), amode(31), rmode(24) and rmode(any)?

893


What are the rules of the move verb?

945


Why did you choose to work with ibm mainframe cobol programming?

850


Describe the cobol database components?

888


Which Search verb is equivalent to PERFORM…VARYING?

863


what is the use of outrecord?

1970


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1031


What is Pic 9v99 Indicates in COBOL?

934


What is redefines clause in COBOL?

1039


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

949


What is the compute verb? How is it used?

852


Write a program that uses move corresponding.

872