Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why would you use find and get rather than to obtain?

1122


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1054


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1080


Write some characteristics of cobol as means of business language.

1078


IF I mention stop run in CICS what happens?

2304


What is amode(31)

1109


In which area will you utilize 88 level items in cobol?

1098


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

1466


What are the cobol coding sheets?

1173


What do you understand by psb and acb?

1056


) what is the difference between AID and HANDLE AID?

2099


Write the code to count the sum of n natural numbers.

1143


Explain how to differentiate call by context by comparing it to other calls?

1128


i need a small 3d program using inline and outline.

2166


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1155