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 / vikas pujar
We can use Inspect to accomplish this.
1) Inspect ws-var tallying ws-count for all spaces.
Here number of spaces will come and sit in ws-count, by deducting it with length of variable will get number of characters.
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Write some characteristics of cobol as means of business language.
IF I mention stop run in CICS what happens?
What is amode(31)
In which area will you utilize 88 level items in cobol?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the cobol coding sheets?
What do you understand by psb and acb?
) what is the difference between AID and HANDLE AID?
Write the code to count the sum of n natural numbers.
Explain how to differentiate call by context by comparing it to other calls?
i need a small 3d program using inline and outline.
What is the default value(s) for an initialize and what keyword allows for an override of the default?