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

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

2375


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

1232


Describe the cobol database components?

1171


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

1328


What is the difference between comp and comp-3?

1183


How to know whether the module is dynamical or statistical?

1135


Which mode is used to operate the sequential file?

1205


What are the pertinent COBOL commands?

3175


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1143


What is the difference between PIC 9.99 and 9v99 in COBOL?

1331


What is cobol?

1238


What is Pic 9v99 Indicates in COBOL?

1256


What is redefines clause in COBOL?

1293


Can we change the password using ALTER? anyone tried and changed?

2019


How many sections are there in data division in COBOL?

1133