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 kind of error is trapped by on size error option?

1250


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

2488


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

1147


For rewrite, why is it mandatory that file needs to be opened?

1115


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

2012


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2382


what is amode(24), amode(31), rmode(24) and rmode(any)?

1155


Explain what you understand by passing by value.

1160


How many bytes S(8) comp field occupy and its maximum value?

2147


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1118


What are literals?

1147


In COBOL, what is the different between index and subscript?

1246


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1331


What is difference between static and dynamic call in cobol?

1398


Difference between array and sub-script ?

1669