Dazed and confused

jlkeepers@mmm.com jlkeepers@mmm.com
Thu, 22 Jul 1999 08:36:59 -0500



I am my wits end on a problem I have run into and was wondering if anyone
can enlighten me.

What I am attempting to do create a subfile and then append data to the
same subfile.  The code is broken down into two QUIZ routines and the error
I received is "record length is different".  Upon investigation I found
that the append routine generates two more bytes, therefore the error.  I
have isolated the problem elements but am confused as to why it is working
this way.

Here is the element in the initial subfile build routine:

Element FOE-QTY-ORDERED                  NUMERIC   Size 11
                   &
    Input Scale  0

                               &
    Output Scale 0

                             &
    Significance 1

                              &
    Leading Sign "-"

                         &
    Picture  "^^^^^^^^^^^"

            &
    Default Item Datatype IEEE FLOAT       SIZE 8
                                           &
    Heading     "Foe Qty^Ordered"
                                                                        &
    Label       "Foe Qty Ordered"

Here is the element in the append subfile routine:

DEF FOE-ORD-QTY   NUM*11  = 0

When I do a show items, the element FOE-QTY-ORDERED shows as NUMERIC with a
size of 11.  The show items on the element,FOE-ORD-QTY ,shows as NUMERIC
with a size of 12!!!

Any ideas?


Jeff Keepers
3M Valley, NE


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.