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 COBOL construct is the COBOL II EVALUATE meant to replace?

1 Answers  


consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

10 Answers   TCS,


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


what is s013u000 for?

1 Answers   Hewitt,


What is the linkage section?

4 Answers  


What the difference is between continue and next sentence?

0 Answers  


What is cobol?

0 Answers  


How arrays can be defined in COBOL?

0 Answers  


If I want to increase the Limit in GDG. What should I do?

1 Answers   IBM,


Write a program to enter and display the names of students in a class using the occurs clause.

0 Answers  


what happens if we dont close cursor in db2-cobol pgm?

6 Answers  


Categories