At 12:42 PM 8/14/2002 -0700, Michael Berkowitz wrote:
>Tom Brandt writes
>
>
>
>An IMAGE type designator of J is the same as I - a halfword signed binary
>integer. An item defined as I2 should be defined as a PIC S9(4) COMP in the
>COBOL copylib. A COBOL definition is S9(6)V99 COMP is used to define a J4
>data item.
>---------------------------------------------------
>Not quite.
>
>The COBOL equivalent to an Image I1/J1 is PIC S9(1 to 4) COMP.
> Image I2/J2 is PIC S9(5 to 9) COMP.
> Image I4/J4 is PIC S9(10 to 18) COMP.
You are right, and if I bothered to proofread what I type instead of
hitting SEND immediately, I wouldn't look like an idiot.
--------------------------------
Tom Brandt
Northtech Systems, Inc.
313 N. 1st Street
Ann Arbor, MI 48103
http://www.northtech.com/
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *