HP3000-L Archives

October 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Wirt Atmar <[log in to unmask]>
Reply To:
Date:
Fri, 20 Oct 2000 13:07:29 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Larry asks:

> I am very, very rusty on my image db structure.  We have a db that as a
>  field that is stored as a J2.  In the query manual J2 is an integer
>  value but doesn't explain how it is stored in the data base.
>
>  Is a J2 item packed, asciii, or soemthing else.

A J2 dataitem is identical in format to an I2 integer, the only difference is
that the range is limited to an "even" decimal series (the largest power of
10 that will fit under 2**31). However, IMAGE doesn't enforce that rule. In
fact, IMAGE enforces virtually no rules at all about how data is stored in
the database. It's essentially up to the application to enforce the
COBOL-specified artificial range restriction.

Wirt Atmar

ATOM RSS1 RSS2