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...

I've one string with spaces ( I N D I A ). My question is I
want remove the spaces & combine in to single string without
space (INDIA).How we can write the cobol program & wich
options we need to use. Please let me know.

Answer Posted / sup

small modification to ans 9th,

If ws-india(ws-i:1) = spaces
continue
Else
move ws-india(ws-i:1)to ws-india-f(i:1)
i=i+1
End-if

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

2165


) How do u handle errors in BMS macro?

1923


What is the LINKAGE SECTION used in COBOL?

1485


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

828


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

1187


How do u write test cases?

2030


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

1105


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

1292


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2416


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

1349


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1198


Name the divisions, which are available in a cobol program?

1188


Discuss about changing dataset name in proc.

1192


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2337


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

1075