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 are 77 levels used for?

1049


What is length is cobol?

1051


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1031


A table has two indexes defined. Which one will be used by the SEARCH?

1228


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1041


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2074


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

1181


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

1255


What is cobol?

1187


Write a program to explain size error.

1133


What are the different data types in cobol?

1317


What is report-item in COBOL?

1084


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

1091


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2077


Define cobol?

1304