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
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is a SSRANGE and NOSSRANGE?
What is the utilization of copybook in cobol?
How do define dynamic array in cobol.
What is static and dynamic call in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the difference between perform … with test after and perform … with test before?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
explain sorting techniques in cobol program?
What do you understand by psb and acb?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?