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 |
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
2 Answers ITC Indian Tobacco Company, PNP, TCS,
What is the utilization of copybook in cobol?
What is the local-storage section?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
What are the different data types available in COBOL?
How will you find the currepted records in a file
In INITIALIZE what is Repalcing Word will do
how do u link sub pgm to main pgm ?
Name some of the examples of COBOl 11?
What is the point of the REPLACING option of a copy statement?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
what is meaning by design document? who can repared for this?