AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE
DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I
GET THE PROGRAM FOR THIS
Answers were Sorted based on User's Feedback
Answer / girish kumar
Yes, Sort will do it for u.
//........Pgm=sort
........
.........
.........
//sysin DD *
sort fields=copy
SUM FIELDS=NONE
/*
Is This Answer Correct ? | 5 Yes | 0 No |
A Sort program will do that for you. Just write
sumfiled=NONE. This will remove the duplicates for you.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / garry
Yes, Sort will do it for u.
//........Pgm=sort
........
.........
.........
//sysin DD *
copy (complete statement)
SUM FIELDS=NONE
/*
Is This Answer Correct ? | 2 Yes | 1 No |
How to copy one PS file to multiple PS files with same data?
I have a job which is a long-running one. Processes millions of records. Due to some run-time problem (not a problem due to the job/data) the job abends.What needs to be done to make the job complete successfully.
How do you submit a job for execution?
How can an in-stream dataset be terminated?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
write a jcl to execute a job by 7:00 am on jan 20,1986?
What 3 guidelines do we have to follow when concatenating DD statements?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
can i sort packed decimal if i can tell the syntax
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes
How does jcl act on code(if you take a cobol program)?
IN DFSORT sum fields=none is usec to remove duplicates.how to write the duplicates in another dataset?