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 var1 pic s9(9)v99.
01 var2 pic x(30).
procedure division.
move 12345.99 to var1.
move12345.99 to var2.
display var1.
display var2.
what is the output?

Answer Posted / kingshuk

var1:0000123459I

If we move 12345.99 to var2 it will give a compilation error.
It should be move '12345.99' to var2.Then

var2:12345.99

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

2203


What is difference between static and dynamic call in cobol?

1379


What is the usage of comp fields in cobol?

1178


Are you comfortable in cobol or jcl?

1036


What are the different rules for performing sort operation?

1213


Have you used comp and comp-3 in your project? And how?

2472


What is amode(31)

1166


Explain about different table spaces.

1087


how to access the file from prodution from changeman tool and to submit a file to production

7531


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9861


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2005


Describe the cobol database components?

1169


What is the difference between comp and comp-3 usage?

1195


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1399


What is the Purpose of Pointer in the string?

1073