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


01 xxx pic 9(4).
01 yyy pic 9(6).

move 123456 into yyy.
move yyy to xxx.

display yyy.

what would be the value of yyy

Answers were Sorted based on User's Feedback



01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. wha..

Answer / nagarajeswari

output will be 3456

Is This Answer Correct ?    9 Yes 16 No

01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. wha..

Answer / vishal

allways value & move display from rigt to left or accept
lalue left to riht ans 3456

Is This Answer Correct ?    4 Yes 11 No

01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. wha..

Answer / siba

In numeric number aligment from right to left
truncation is in left side
the data type size of y is 9
so the value of y is 000123456

Is This Answer Correct ?    3 Yes 12 No

Post New Answer

More COBOL Interview Questions

) what is the difference between AID and HANDLE AID?

0 Answers   IBM,


How to define a array dynamically.....

5 Answers   Fidelity,


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


Explain fixed length record in cobol? with suitable example

1 Answers   IBM,


What is SET TO TRUE all about, anyway?

5 Answers  


What is XDC ?

3 Answers   Cap Gemini, IBM,


In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

1 Answers   CSC,


what is meaning by design document? who can repared for this?

5 Answers   TCS,


wht is load module and object module ?

2 Answers   DELL, TCS,


What is the difference between index and subscript?

5 Answers   Visa,


How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

10 Answers   IBM,


I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?

3 Answers   HCL, IBM,


Categories