If we want to see the eliminated duplicate record thru
SORT, how its output file will be managed
Answer Posted / mahaveer
//SORTXSUM DD DSN=datasetname,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(1,4),RLSE),
// DCB=(RECFM=FBM,LERCL=80,BLKSIZE=800)
.
.
//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE,XSUM
/*
We can see the eliminated duplicate records in sortxsum
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
how do you access an uncataloged dataset in a jcl?
How is the record format of an output dataset specified?
Name what parameter directs the output of the job log dataset?
Differentiate between the joblib and the steplib statements?
How to pass data to a program that is coded in an exec statement?
How can an in-stream dataset be terminated?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
How can unused space allocation be returned to the system when a dataset is closed?
What is the function of //cntl statement?
What are the difference between jcl and jes?
How to submit jcl through a cobol program?
Explain how can a jobs execution priority be modified?
List the different jcl statements that are not permitted in the procedures?
what is the compile process of cobol program expalin with code
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?