Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
Answer / mehak
open input file reversed
this will read file in reversed order
write 2 record
| Is This Answer Correct ? | 0 Yes | 0 No |
What COBOL construct is the COBOL II EVALUATE meant to replace?
what are the utilities for load and unload the DB2 tables
how will you define vsam file in select clause?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
what is mainframe? what is the mainframe software ? what is use in s/w field?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
what is the default print format? in cobol
for an INITIALIZE and what keyword allows for an override of the default.
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.
What are the different types of condition in cobol and write their forms.