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

can u give result for the fallowing example...
05 a pic 9(2)
05 b redifines a pic x(2).
move 'xy' to b.
display a,b.

Answer Posted / shyamala a

SCENARIO 1 :
If we move "XY" TO A then the result will be
1. You will get a compilation warning "** Warning 378 ** Expected digit string as sending operand"
2. display will be Both A and B will have 00.

sCENARIO 2:
iF WE MOVE "xy" TO B then the result will be
1. No compilation/run time error.
2. Display will be both A and B = XY

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

1129


What is rmode(any) ?

1330


Name some of the examples of COBOl 11?

3196


How do get the result of your program directly on your pc?

2395


Write down the divisions of cobol program?

1334


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1217


How to remove 2 duplicate records and copy only one using job control language?

1261


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

1393


What are the different data types in cobol?

1513


What is link edit in cobol?

1269


What is perform what is varying?

1221


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

1441


How do you reference the following file formats from cobol programs?

1205


how do you reference the printer file formats from cobol programs

1280


what is the difference between COBOL2 AND COBOL390?

3113