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...

How is sign stored in Packed Decimal fields and Zoned
Decimal fields?

Answer Posted / escapa

In both sign is stored at last byte but

In PACKED Decimal is at last nibble where as in ZONED decimal sign is stored at higher nibble of last byte

Eg.
+1234 in zoned decimal it will be stored as F1 F2 F3 C4
-1234 in zoned decimal it will be stored as F1 F2 F3 D4

+1234 in PACKED decimal it will be stored as 01 23 4C
-1234 in PACKED decimal it will be stored as 01 23 4D

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1063


What is amode(31)

1126


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2405


How to remove 2 duplicate records and copy only one using job control language?

1187


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

1207


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2100


What is the difference between Global and External Variables?

1330


how to move the records from file to array table. give with code example

2647


Give some examples of command terminators?

1221


How do get the result of your program directly on your pc?

2313


explain sorting techniques in cobol program?

1161


Why did you choose to work with ibm mainframe cobol programming?

1061


What is report-item in COBOL?

1124


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1083


What is the local-storage section?

1122