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 / venkat
use the sort procedure in cobol and if u want duplicates
kept with duplicates otherwise leave it ...
and ascending order..u now that one..
thank u
if it works reply me ..else
correct me..
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
how do you define single dimensional array and multidimensional array in your cobol?
Discuss about changing dataset name in proc.
What is amode(24)?
What are literals?
Write down the divisions of cobol program?
Write a cobol program making use of the redefine clause.
What is the LINKAGE SECTION used in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
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 ?
How do you get the data to code the BMS macro?
Which is not true about evaluate statement
What are the various section in data division and briefly explain them.
Why would you use find and get rather than to obtain?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
how can i see junk values in dclgen or in hostvariable of comp ?