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?
Answer Posted / 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 View All Answers
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Define static linking and dynamic linking.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the difference between goback, stop run and exit program in cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Which mode is used to operate the sequential file?
What is the difference between perform … with test after and perform … with test before?
In COBOL, what is the different between index and subscript?
Which division and paragraphs are mandatory for a COBOL program?
How do you get the data to code the BMS macro?
How to print 10 to 1 if the input have only 10 digit number?
When is inspect verb is used in cobol?
Write the code implementing the perform … varying.
How do get the result of your program directly on your pc?
How arrays can be defined in COBOL?