How to find the number of duplicates in a file using Sort?
Answer Posted / prachi
In order to copy eliminated duplicates into another file
using sort is as below:
//SORTXSUM DD DSN=----
:
:
:
:
//SYSIN DD *
SORT FIELDS = copy
SUM FIELDS =NONE,XSUM
/*
//
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What are hierarchy levels in jcl?
In job processing, what happens in execution stage?
Explain how can values be passed from the job stream to an executable program?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Explain how can return codes be tested before execution of a job step?
Is acct parameter mandatory?
How jcl work to handle various input output file operations?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
How can a fb file convert to vb file using sort program?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What are the rules employed while naming the steps in a job?
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 ?
How can return codes be tested before execution of a job step?
Is it possible to define dd statements as you want?