input:-AABBCCDDEFGHIIJ
output:- ABCDEFGHIJ
Here in input we hav the duplicate characters i.e repeating
characters.SO we should eliminate the duplicate characters
and should display the output in ascending order.
Answer Posted / subbu
We can eliminate the duplicates using sort.
please find the control card for sort.
sort fields = (starting position of field,length of the
field,data type,ascending or descending order)
sum fields=none
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Are you comfortable in cobol or jcl?
How many sections are there in data division in COBOL?
What is length is cobol?
What is the problem of ordered sequential files access?
What guidelines should be followed to write a structured cobol prgm?
What is the local-storage section?
Explain how to differentiate call by context by comparing it to other calls?
Why would you use find and get rather than to obtain?
what is the use of outrecord?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
what is difference between cobol and cobol/400
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are different data types in cobol?
What is the LINKAGE SECTION used in COBOL?