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

What is length is cobol?

1073


Describe the cobol database components?

1138


What are various search techniques in cobol? Explain.

1042


example for sub strings ? and refernce modifications whit output pls

2285


Explain what you understand by passing by value.

1116


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

1172


In COBOL programming, what is PERFORM? What is VARYING?

1111


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2079


What is the problem of ordered sequential files access?

1132


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2565


What rules are to be followed while using the corresponding options?

1030


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17829


What is the difference between PIC 9.99 and PIC9v99?

1304


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2336


how to refer the data field?

2232