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 occurs cannot be used in 01 level in COBOL?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How are the next sentence and continue different from each other?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Which is not true about evaluate statement
What is the problem of ordered sequential files access?
What is inspect in cobol ?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is a report item?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are the different open modes available in cobol?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.