How to read records from flat file in reverse order through
COBOL program?
Answer Posted / pa
Being a flat file, we cant be sure that it will have a unique key field. So, External to the cobol program , using SORT utility, we can add a serial no column, and then SORT it in descending order based on that column and read the file sequentially in COBOL program.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
State the various causes of s0c1, s0c5 and s0c7.
how do you reference the printer file formats from cobol programs
What is rmode(any) ?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Write some characteristics of cobol as means of business language.
Have you used comp and comp-3 in your project? And how?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are different data types in cobol?
How do u write test cases?
What is amode(24)?