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 / 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 |
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
file status 00 is checked after opening the file or reading the file
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the cobol coding sheets?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
what happens if parmparameter passes zero bytes to the program
Write a program that uses move corresponding.
where do u use low-value and high value in cobol
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?