I have put two write operations in a single para for two different conditions.Will that lead to an abend or run successfully and write two records?



I have put two write operations in a single para for two different conditions.Will that lead to an a..

Answer / dk

No, The program will not ABEND in the case if two WRITE statements are given in the same PARA.
It's all up to your condition. If both the conditions are met, two records will be written to the file.

Is This Answer Correct ?    19 Yes 0 No

Post New Answer

More COBOL Interview Questions

what happens if we wont give timestamp in precompilation process ?

4 Answers   Covansys,


How to print 10 to 1 if the input have only 10 digit number?

0 Answers  


what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 Answers  


What is SSRANGE, NOSSRANGE ?

5 Answers  






Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.

3 Answers  


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

0 Answers  


what is MSGLEVEL?

1 Answers   IBM,


why 02 level number can't be use as a separate level number like 01 or 77 ?

3 Answers  


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


when COMP-3 is preferrable?

3 Answers   Patni,


Categories