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 can you execute a COBOL program via SYSIN in JCL?
Can you delete the GDG base without deleting GDG generations ?
Is Default for MSGCLASS = (1,1) ?
what happens if job falls in loop ? how to resolve it ?
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?
what are the technical terms for // /* in jcl
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
Explain the function of the steplib dd statement?
What statement marks the end of an in-stream or catalogued procedure?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?