Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
About Zoned Decimal Data items

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
saigiridhar_s

New User


Joined: 25 Feb 2005
Posts: 2
Location: bangalore

PostPosted: Thu Mar 17, 2005 8:50 pm    Post subject: About Zoned Decimal Data items
Reply with quote

Hi,
Can anyone tell me what is meant by ZD and where it is used and if possible a sample code. Thanks in Advance.
Back to top
View user's profile Send private message
References
sunnyk

Active User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Fri Mar 18, 2005 4:31 pm    Post subject:
Reply with quote

hi,
ZD specifies a method of encoding decimal numbers in which each digit requires one byte of storage. The last byte contains the number's sign as well as the last digit. Zoned decimal data produces a printable representation.

regds
sunny
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1504

PostPosted: Sat Mar 19, 2005 9:35 pm    Post subject: Re: About Zoned Decimal Data items
Reply with quote

Hi,

In COBOL terms it's a PIC 9 display field.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1