I have 3 duplicate records in a file .
I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
Answer Posted / vignesh1988i
so , first sort the PS using JCL SORT utility and update the
PS file.
find the duplicates using XSUM . and write the duplicates
alone in a seperate PS.
take the seperate PS and give the control condition inside
SYSIN DD * as , sort fields with skiprec(3), since u need
only the 3rd one to copy
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
what is use of space parameter in dd statement?
What is the difference between run mode and addressing mode?
which utility is used to sort a file in jcl?
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 significance of addrspc parameter in the exec statement?
What are steplib and joblib?
What do you understand by the term notcat 2 – gs?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What is concatenating?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
How do you overcome this limitation ?
What is the format of comment statement?
How can a fb file convert to vb file using sort program?
Explain how can return codes be tested before execution of a job step?