Given a input file with duplicates how to remove the
duplicate records from the file using JCL?
Answer Posted / sudee
//STEP10 EXEC PGM=SORT,REGION=1024K
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=...,DISP=SHR
//SORTOUT DD DSN=...
//SYSIN DD *
SORT FIELDS=copy
SUM FIELDS=NONE
/*
//
| Is This Answer Correct ? | 25 Yes | 12 No |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
a dd statement has 2 types of parameters. Name them?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Where can program checkpoints be stored for use in a restart?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Is there any command to check wether the ps file is in sorted order?
How can return codes be tested before execution of a job step?
what sort card you will use to copy the data from one dataset to another dataset?
What is NOTCAT ?
How can the submitting users racf authority be overridden in a job stream?
Can we use DISP=SHR in output file in JCL
what is the difference between JES3 and JES2?
What is the difference between run mode and addressing mode?
what is SOC4 error?