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


Please Help Members By Posting Answers For Below Questions

How do you define a variable of comp-1 and comp-2?

691


What is length is cobol?

639


State the various causes of s0c1, s0c5 and s0c7.

654


Write the code implementing the perform … varying.

635


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679






What are the different types of condition in cobol and write their forms.

649


A table has two indexes defined. Which one will be used by the SEARCH?

746


how do you reference the fixed unblock file formats from cobol programs

698


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


What is the difference between PIC 9.99 and PIC9v99?

769


example for sub strings ? and refernce modifications whit output pls

1833


what is the difference between COBOL2 AND COBOL390?

2438


How you can read the file from bottom?

652


how to refer the data field?

1793


In which area will you utilize 88 level items in cobol?

705