how can count the number of character in feild ?? suppose
for instance i have a feild with value ' rajesh sarkar'
then how can v count the number of characters whitout
spaces...........
Answer Posted / dk
Declare an array with PIC X.
check for every subscript whether it is not SPACES.
Count the occurrences for non space values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do get the result of your program directly on your pc?
example for sub strings ? and refernce modifications whit output pls
How many sections are there in data division in COBOL?
What is the difference between Global and External Variables?
How do we get current date from system with century in COBOL?
What are different data types in cobol?
In COBOL, what is the different between index and subscript?
What is link edit in cobol?
how do you reference the variable block file formats from cobol programs
What are the different data types in cobol?
What is the use of intialize verb?
Write a program to explain size error.
Difference between cobol and cobol-ii?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Write a program to enter and display the names of students in a class using the occurs clause.