IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what is the diff. between zoned decimal and packed decimal


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
umabsr

New User


Joined: 08 Mar 2005
Posts: 6
Location: chennai

PostPosted: Sun Apr 03, 2005 7:30 pm
Reply with quote

hello everybody,

can anybody gives me the diff. between zoned decimal format and packed decimal format



thanks,
bhuvana
Back to top
View user's profile Send private message
prasad_yadav20

New User


Joined: 12 Mar 2005
Posts: 13
Location: hyderabad

PostPosted: Sun Apr 03, 2005 8:09 pm
Reply with quote

[quote="umabsr"]hello everybody,

can anybody gives me the diff. between zoned decimal format and packed decimal format



thanks,
bhuvana[/quote]

hii,
packed decimal internal format is hexadecimal,here one seperate nible is occupied for sign ,but in zoned decimal case no seperate nible for sign,sign will zoned on last byte only.
Back to top
View user's profile Send private message
chandramouli.v

New User


Joined: 21 Mar 2005
Posts: 12

PostPosted: Mon Apr 04, 2005 2:47 pm
Reply with quote

In zoned decimal format sign will be over punched on the data byte (lastbyte).
In packed decimal format sign will take 1/2 byte extra to store separately.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts Need Help with Packed Decimal Signs DFSORT/ICETOOL 4
No new posts Select a DB2 value in a specific deci... DB2 4
Search our Forums:

Back to Top