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
Can you explain control variable in online screens?
How to receive data passed through jcl parm parameter in a natural program?
The natural file converted to PDF file if Yes then explain ?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Explain why do we use file-aid for seqential files?
What is the quality process in development?
Define cobol coding sheet?
Explain the difference between external subroutine and subprogram?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
Explain difference between read(1) and read work file once?
Explain how many work file we can code in jcl?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
What is the difference between read(1) and read work file once?