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
 

 

Exact difference bw Zone Dec and Packet decimal

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
MOHAN KUMAR DURAIRAJAN

New User


Joined: 16 Apr 2012
Posts: 11
Location: INDIA

PostPosted: Thu Mar 14, 2013 4:36 pm    Post subject: Exact difference bw Zone Dec and Packet decimal
Reply with quote

1. Can any one share the exact difference between Zoned Decimal and Packet Decimal.
2. Advantages of both.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Mar 14, 2013 4:50 pm    Post subject: Reply to: What is exact diff and adv btw Zone Dec and Packet
Reply with quote

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

http://www-01.ibm.com/support/docview.wss?uid=isg2b9de5f05a9d57819852571c500428f9a
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu Mar 14, 2013 4:58 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Mar 14, 2013 5:00 pm    Post subject:
Reply with quote

Akatsukani, you mean "packet decimal" is not used in socket programming? icon_biggrin.gif
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu Mar 14, 2013 5:14 pm    Post subject:
Reply with quote

Robert Sample wrote:
Akatsukani, you mean "packet decimal" is not used in socket programming? icon_biggrin.gif

Go ahead, Robert, socket to me icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Mar 14, 2013 5:19 pm    Post subject: Reply to: What is exact diff and adv btw Zone Dec and Packet
Reply with quote

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 icon_cool.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Mar 14, 2013 5:42 pm    Post subject:
Reply with quote

So I should just "packet" on? icon_biggrin.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Mar 14, 2013 5:45 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Thu Mar 14, 2013 7:54 pm    Post subject:
Reply with quote

VIA Google...
http://v8doc.sas.com/sashtml/lrcon/z1265705.htm
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 15, 2013 3:19 am    Post subject:
Reply with quote

And i seem to recall the Latin form - Sock et Tuum . . .
Back to top
View user's profile Send private message
charanmsrit

New User


Joined: 25 Oct 2007
Posts: 80
Location: Australia

PostPosted: Thu Mar 21, 2013 3:53 pm    Post subject:
Reply with quote

I think this link is useful for beginners

http://www.simotime.com/indexnum.htm
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 Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Convert Decimal to hexadecimal Steve Ironmonger DFSORT/ICETOOL 5 Fri May 27, 2016 4:19 pm
This topic is locked: you cannot edit posts or make replies. JCL to convert float decimal into rea... polymathtarun JCL & VSAM 3 Sun May 15, 2016 9:57 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm


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