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 / adithya
//job card
//step1 exec pgm=sort
//sortin dd dsn=adi.in
//sortout dd sysout=*
//sysout dd sysout=*
//sysin dd *
sort fields=(1,15,ch,a)
sum fields=none
/*
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Write the code to count the sum of n natural numbers.
Describe the cobol database components?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is a SSRANGE and NOSSRANGE?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the local-storage section?
Why occurs cannot be used in 01 level in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
Name the sections present in data division.
Explain what you understand by passing by value.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Difference between cobol and cobol-ii?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are different data types in cobol?