SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT
HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO
PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

Answer Posted / pandu

Thanks Vinodh

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


What are the pertinent COBOL commands?

2626


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

678


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

677


what is difference between cobol and cobol/400

21569






What is the usage of comp fields in cobol?

660


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1119


For rewrite, why is it mandatory that file needs to be opened?

623


how to convert the recors form vsam file to db2 table tru file aid

2763


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

712


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8167


What is inspect in cobol ?

806


What is difference between static and dynamic call in cobol?

778


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

676


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645