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
Name the sections present in data division.
How you can characterize tables in cobol?
How do you define a variable of comp-1 and comp-2?
example for sub strings ? and refernce modifications whit output pls
What is the usage of comp fields in cobol?
What is the difference between next sentence and continue in cobol programing language?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different rules of SORT operation?
explain sorting techniques in cobol program?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Difference between cobol and cobol-ii?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are the cobol coding sheets?
A table has two indexes defined. Which one will be used by the SEARCH?
What are all the divisions of a COBOL program?