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

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

1384


Give some examples of command terminators?

1320


What is the difference between binary search and sequential search?

1128


What is the difference between Call and a Link?

1262


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1217


Difference between cobol and cobol-ii?

1343


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1147


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

1151


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

1198


What are the various section in data division and briefly explain them.

1251


How you can read the file from bottom?

1195


Which mode is used to operate the sequential file?

1255


how do you reference the printer file formats from cobol programs

1277


What is report-item in COBOL?

1198


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

3311