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 are the different data types in cobol?

1319


Mention the guidelines to write a structured cobol program?

1025


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1111


Write a program that uses move corresponding.

1071


What is the Purpose of Pointer in the string?

1025


What is Pic 9v99 Indicates in COBOL?

1176


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

1135


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2327


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1089


Discuss about changing dataset name in proc.

1172


How do define dynamic array in cobol.

1081


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6450


Describe the cobol database components?

1125


How to know whether the module is dynamical or statistical?

1078


how do you reference the variable block file formats from cobol programs

1181