How to retain the Duplicates in the one records?
Answers were Sorted based on User's Feedback
Hi,
Using sort Utilities,
some fields=None,xsum
//STEP010 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=TEST.XSUM.INPUT,DISP=SHR
//SORTOUT DD DSN=TEST.XSUM.OUTPUT,DISP=SHR
//SORTXSUM DD DSN=TEST.XSUM.OUTPUT.XSUM,DISP=SHR
//SYSIN DD *
SORT FIELDS=(2,10,CH,A)
SUM FIELDS=NONE,XSUM
| Is This Answer Correct ? | 15 Yes | 4 No |
Answer / tv
The question is want to retain duplicates. So sum
fields=none shouldn't be used in SORTing.
| Is This Answer Correct ? | 1 Yes | 2 No |
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
plz any one tell clearly the justify right clause?
What is the difference between Call and a Link?
2)Where the Plan is located in CICS-DB2?
how many bytes does s9(7)COMP-3 field occupies?
What are the different types of condition in cobol and write their forms.
can we read records in a file from botom to top. if possible how can we read
At the minimum, which division of COBOL is enough to be coded?
What is the file organization clause ?
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?