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

How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3174


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2409


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2484


how do you reference the fixed unblock file formats from cobol programs

1176


Describe the cobol database components?

1126


What is rmode(any) ?

1184


What is rmode(24)

1100


Which division and paragraphs are mandatory for a COBOL program?

1196


how to convert the recors form vsam file to db2 table tru file aid

3213


What is the Purpose of Pointer in the string?

1028


What is a scope terminator give example?

1052


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5318


i need a small 3d program using inline and outline.

2170


Explain how to differentiate call by context by comparing it to other calls?

1130


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1058