Dazed and confused
Robert J.M. Edis
robert.edis@creatcomp.com
Thu, 22 Jul 1999 10:51:23 -0400
G'day Jeff
Your first item is defined as a FLOATing point storage type. The display
size is 11 positions including the sign but the storage size is only 8
bytes.
Your second item should also be defined as floating point number of 8 bytes
storage and display size of 11 positions.
Are you listing the item definition of the subfile dictionary or the PHD?
If this element is also defined in the PHD but with a size of 12 there may
be a conflict between the PHD definition and the subfile definition.
If that is not the case, maybe the subfile dictionary is added 1 display
position for the sign?
Good luck!
Blue
-----Original Message-----
From: jlkeepers@mmm.com [mailto:jlkeepers@mmm.com]
Sent: Thursday, July 22, 1999 9:37 AM
To: powerh-l@lists.swau.edu
Subject: Dazed and confused
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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.