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 |
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
maximum of how many screens we can open in emulator
why we are using picture clause in the cobol programs?
what is meaning by design document? who can repared for this?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
What is the meaning of 'TALLING' verb in cobol?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).
I have a sequential file. How do I access a record in this sequential file randomly in my program ?
What compiler option would you use for dynamic linking?
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between PIC 9.99 and 9v99?