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

What is the usage of comp fields in cobol?

1188


how do you reference the fixed unblock file formats from cobol programs

1240


what is difference between cobol and cobol/400

22929


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1249


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)?

1117


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1112


What are various search techniques in cobol? Explain.

1072


Define static linking and dynamic linking.

1196


Can we change the password using ALTER? anyone tried and changed?

2021


What is perform what is varying?

1177


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1407


IF I mention stop run in CICS what happens?

2379


What is the compute verb? How is it used?

1149


Difference between array and sub-script ?

1667


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

2550