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 to delete leading spaces/blank in COBOL ?
Example:- 01 data-name-1 pic x(220) " English is a
language".
I would like to delete leading spaces.

Answer Posted / naveen

You have many options.

1. Use Reference modification if you want a COBOL program.
2. INSPECT will also do.
3. Use SORT, OUTREC option, it will also work.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

2223


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1353


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

1116


Write a program to explain size error.

1204


How do define dynamic array in cobol.

1145


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2477


What is difference between static and dynamic call in cobol?

1394


What is amode(24)?

1248


What are the different types of condition in cobol and write their forms.

1118


Give some examples of command terminators?

1265


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

1382


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

1246


What is the difference between Call and a Link?

1199


How do you reference the fixed block file formats from cobol programs

1232


What is comp-1 and comp-2?

1232