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 / nagaraj ramammorthy

here the usage clause is DISPLAY which is default. so each
digit takes one byte to store and the sign is punched with
the last digit..

so it will be stored as 1234N.

note:
numbers punched with '+' sign
0 - {
1 - A
2 - B
3 - C
4 - D
5 - E
6 - F
7 - G
8 - H
9 - I


numbers punched with '-' sign
0 - }
1 - J
2 - K
3 - L
4 - M
5 - N
6 - O
7 - P
8 - Q
9 - R

hope this is clear

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can characterize tables in cobol?

1209


what happens if parmparameter passes zero bytes to the program

2143


What are the pertinent COBOL commands?

3187


What are all the divisions of a COBOL program?

1220


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

1333


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2485


Explain how you can characterize tables in cobol?

1067


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

2384


What is the compute verb? How is it used?

1153


how do you reference the rrds file formats from cobol programs

1589


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12401


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1242


What are the pertinent COBOL

2576


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9902


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

1304