View previous topic :: View next topic
|
Author |
Message |
MOHAN KUMAR DURAIRAJAN
New User
Joined: 16 Apr 2012 Posts: 11 Location: INDIA
|
|
|
|
1. Can any one share the exact difference between Zoned Decimal and Packet Decimal.
2. Advantages of both. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
from Your profile ...
Quote: |
Occupation: SOFTWARE ENGINEER
Mainframe Skills: JCL,COBOL,REXX,DB2,VSAM,CICS |
should not be that difficult to read the manuals and find out Yourself
for all You might want to know about the internal/hardware representation of numerics
the mother of all the knowledge is the Principle of operations
available ( for example ) here
www-01.ibm.com/support/docview.wss?uid=isg2b9de5f05a9d57819852571c500428f9a |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
No, because there is no such thing as "packet decimal".
Ironically, just before I saw this thread I was reading an essay by Teresa Nielsen Hayden, "Dreadful Phrases", on malapropisms. You may benefit from reading it yourself. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Akatsukani, you mean "packet decimal" is not used in socket programming? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Robert Sample wrote: |
Akatsukani, you mean "packet decimal" is not used in socket programming? |
Go ahead, Robert, socket to me |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
and then we might continue the diatribe
USS as Unformatted System Services VS USS as Unix System Services
( gone on for a long time on IBM MAIN )
I was tempted to start one about DATA SET (*)
file VS modem
(*) a loong time ago it was written in both ways for both meanings |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
So I should just "packet" on? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
MOHAN KUMAR DURAIRAJAN, you keep asking about advantages of different formats. This is a quesiton students ask (because teachers ask them I guess). Professional programmers understand that the question is not one of advantages of, say, packed-decimal versus zoned decimal, but rather when does packed decimal make sense and when does COMP make sense and when does zoned decimal make sense and so forth. An "advantage" depends upon the specific requirements and can rapidly become a liability depending upon the situation. |
|
Back to top |
|
|
Gary McDowell
Active User
Joined: 15 Oct 2012 Posts: 139 Location: USA
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
And i seem to recall the Latin form - Sock et Tuum . . . |
|
Back to top |
|
|
charanmsrit
New User
Joined: 25 Oct 2007 Posts: 81 Location: Australia
|
|
Back to top |
|
|
|