Given a input file with duplicates how to remove the
duplicate records from the file using JCL?
Answer Posted / tidda
This can be done by using Sort.
1) If the first duplicate is to be kept, we use SUM
FIELDS=NONE
2) If none of the duplicates are to be kept, using SYNCTOOL
or ICETOOL, use the NODUPS option.
| Is This Answer Correct ? | 16 Yes | 6 No |
Post New Answer View All Answers
how you can direct the data to spool using SYSOUT option?
what is the JCL statement consists of?
What parameter directs the output of the job log dataset?
Explain the function of //cntl statement?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain how can the attributes of one sms dataset be copied to another dataset?
Explain about LMQUERY�give a dialog information about a data set
define cond parameter in jcl?
How does jcl specify the job to the operating system?
what are the statements that are not valid to be included in an include statement?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What is the purpose of disp parameter?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?