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
Write some characteristics of cobol as means of business language.
What is static and dynamic call in cobol?
How many sections are there in data division in COBOL?
When is inspect verb is used in cobol?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are the rules of the move verb?
How do you reference the following file formats from cobol programs?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is the use of intialize verb?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Explain how you can characterize tables in cobol?
What are the various section in data division and briefly explain them.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?