Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How can I convert charactor to fixed ... liying DFSORT/ICETOOL 7 Tue May 22, 2018 3:35 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts How to group and sum the decimal value sakrat DFSORT/ICETOOL 2 Tue Mar 06, 2018 9:13 pm
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us