Given a input file with duplicates how to remove the
duplicate records from the file using JCL?
Answer Posted / alan at accenture
the existing record of present file and the duplicate
record of previous file wnen sort both files, if both are
duplicated records both must be removed and there is no
existing record in the file. Got it? thanksalan
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can I send output of job to my remote device careerride123?
List the different jcl statements that are not permitted in the procedures?
What do you understand by the term job time – out and how can you overcome that?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What happens if both JOBLIB & STEPLIB is specified ?
How can a jobs execution priority be modified?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is use of restart and how to use it?
which utility is used to sort a file in jcl?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What is one line to pass PARM from JCL to COBOL?