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
What is the function of the steplib dd statement?
Which statement is used to identify the private libraries in job?
Can we call instream to catalog and catalog to instream?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Must tape dataset definitions include vol=ser specifications?
what is the compile process of cobol program expalin with code
what is DD statement is used in JCL?
Explain dfsort utility?
How can the submitting users racf authority be overridden in a job stream?
Explain about LMQUERY�give a dialog information about a data set
What is the purpose of dd * statement in jcl?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
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?
What are the parameters that are used in creating a gdg?