COuld you please let me know along with a sample on how are
you going to remove duplicates from the file that is being
read.
Thanks
Sam
Answer Posted / nitin
steps are as below
1. file should be in sorted order
2. you can use either at break statement on the descriptor
and then do the validation or you can used desctiptor field
for comparison of secod record and first record, if the
descriptor values are same then escape top
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Define cobol coding sheet?
The natural file converted to PDF file if Yes then explain ?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain how to find occurrence of mu and pe fields in a file?
Explain the like inverted list?
Explain the difference between external subroutine and subprogram?
What is the quality process in development?
Can we see the copy book length using file-aid?
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
How to find occurrence of mu and pe fields in a file?
How to receive data passed through jcl parm parameter in a natural program?
What is a hyperdescriptor? How does it work?
How are you going to remove duplicates from the file that is being read?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?