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 a front spaces in a data-name/variable in
cobol
Example:-
01 data-name-1 PIC x(20) value " cobol language".
01 data-name-2 PIC x(20).
MOVE data-name-1 to data-name-2.
would like the value of data-name-2 is "cobol language".

Answer Posted / deepak dada

01 data-name-1 pic value " cobol language" justified
right.
01 data-nane-2 pic(20).
01 data-name-3 redifines data-name-2 pic x(14).
move data-name-1 to data-name-3.
display data-name-3.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a File that has duplicate records. I need only those records that occur more than thrice.?

9865


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3224


What is the difference between external and global variables in COBOL?

1449


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1500


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1201


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

1237


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

2008


What are declaratives and what are their uses in cobol?

1194


What are the rules of the move verb?

1258


) how do u code after getting data?

2146


What is amode(31)

1166


When is inspect verb is used in cobol?

1249


What is the Purpose of Pointer in the string?

1073


How do you define a variable of comp-1 and comp-2?

1197


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1346