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 do you understand by the term job time – out and how can you overcome that?
How to override loadlib?
Which statement is used to identify the private libraries in job?
When space is allocated for an output dataset, what units can be used?
How do you create a temporary dataset?
Can an individual step be restricted from using all the jobs allowed cpu time?
Describe the various parameters utilized in the creation of a gdg?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
A dd statement consists of 4 fields. Name them?
What is the significance of addrspc parameter in exec statement?
what happens in execution stage in job processing?
Differentiate between addressing mode and run mode.
Explain how can the attributes of one sms dataset be copied to another dataset?
what happens in conversion stage in job processing?
Does jcl support automatic restart?