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 a pic s9(5) value '-12345' how it will be stored

Answer Posted / gopal chand

01 a pic s9(5) value '-12345' how it will be stored

It will be stored :
1234u

In data files Negative Values are Stored as per the
following manner

0-p 1-q 2-r 3-s 4-t 5-u 6-v 7-w 8-x 9-y

The Last Digit of the No. is stored like this in the
following example.

Example: 01 a pic s9(4)v99

move -3456.23 to a.
display a.
Output is : 34562s

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u write test cases?

2071


What do you understand by psb and acb?

1129


How are the next sentence and continue different from each other?

1302


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3173


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1116


What is amode(24)?

1251


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

2479


Write down the divisions of cobol program?

1261


Which Search verb is equivalent to PERFORM…VARYING?

1045


What is cobol?

1244


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1254


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1243


how can i see junk values in dclgen or in hostvariable of comp ?

3005


Which division and paragraphs are mandatory for a COBOL program?

1285


Write some characteristics of cobol as means of business language.

1147