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 / akviswa
1. Count the length of the string
2. Move the value of WS-IND to 1
2. perform until the length of the string=0
a. If string(ws-ind:1) <> spaces
Increment the counter for count
end-if
b. Decrement the length of string and increment WS-IND
end-perform
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
) How do u handle errors in BMS macro
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is a scope terminator give example?
how to refer the data field?
what is difference between cobol and cobol/400
HOw can I get the negative sign while deduct high value from low value
How arrays can be defined in COBOL?
What is static and dynamic call in cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What type of SDLC u followed? Why?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How do u write test cases?
Write some characteristics of cobol as means of business language.
What is the difference between binary search and sequential search?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.