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
Write the code implementing the perform … varying.
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How many bytes S(8) comp field occupy and its maximum value?
how do you reference the printer file formats from cobol programs
What do you understand by psb and acb?
What is the difference between comp and comp-3?
What are the different rules for performing sort operation?
In COBOL, what is the different between index and subscript?
What are the different open modes available in cobol?
How to remove 2 duplicate records and copy only one using job control language?
Write down the divisions of cobol program?
HOw can I get the negative sign while deduct high value from low value
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Explain how you can characterize tables in cobol?