Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

what is the diff. between zoned decimal and packed decimal

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: what is the diff. between zoned decimal and packed decimal
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    Post subject: Re: what is the diff. between zoned decimal and packed decim
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Joinkeys with decimal scdinesh DFSORT/ICETOOL 3 Fri Feb 10, 2017 4:46 am
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Convert Decimal to hexadecimal Steve Ironmonger DFSORT/ICETOOL 5 Fri May 27, 2016 4:19 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us