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

What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1064


What are the access modes of START statement?

1191


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2397


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2330


Write a cobol program making use of the redefine clause.

1123


What is the use of intialize verb?

1185


Can a Search can be done on a table with or without Index?

1237


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

1066


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2062


what is the difference between COBOL2 AND COBOL390?

2988


What is the problem of ordered sequential files access?

1111


Write down the divisions of cobol program?

1155


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1233


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

1260


Explain about different table spaces.

1049