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 / dk

Declare an array with PIC X.
check for every subscript whether it is not SPACES.
Count the occurrences for non space values.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do get the result of your program directly on your pc?

2294


example for sub strings ? and refernce modifications whit output pls

2266


How many sections are there in data division in COBOL?

1078


What is the difference between Global and External Variables?

1294


How do we get current date from system with century in COBOL?

1320


What are different data types in cobol?

1228


In COBOL, what is the different between index and subscript?

1185


What is link edit in cobol?

1152


how do you reference the variable block file formats from cobol programs

1182


What are the different data types in cobol?

1329


What is the use of intialize verb?

1179


Write a program to explain size error.

1137


Difference between cobol and cobol-ii?

1195


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1257


Write a program to enter and display the names of students in a class using the occurs clause.

1154