Re: Setting A Hex Value in COBOL
- From: docdwarf@xxxxxxxxx ()
- Date: Thu, 31 May 2007 09:18:01 +0000 (UTC)
In article <2Fs7i.159356$oS7.144347@xxxxxxxxxxxxxxxxxxxxxx>,
William M. Klein <wmklein@xxxxxxxxxxxxxxxxx> wrote:
[snip]
If one wants to be "totally safe" it is NEVER a "good
idea" to put a 3 (decimal) digit value into a field defined with "PIC 9(2)" -
regardless of USAGE (unless using an implementer defined usage that SAYS
this is
OK, such as COMP-5 or COMP-X in some compilers).
I believe that the original poster specified that the target of the +229
VALUE clause was an S9(4) COMP field which had been REDEFINED into two PIC
X fields.
DD
.
- References:
- Setting A Hex Value in COBOL
- From: gary
- Re: Setting A Hex Value in COBOL
- From: Pete Dashwood
- Re: Setting A Hex Value in COBOL
- From: William M. Klein
- Setting A Hex Value in COBOL
- Prev by Date: Re: Setting A Hex Value in COBOL
- Next by Date: Re: Setting A Hex Value in COBOL
- Previous by thread: Re: Setting A Hex Value in COBOL
- Next by thread: Re: Setting A Hex Value in COBOL
- Index(es):
Relevant Pages
|
|