HP3000-L Archives

October 2002, Week 4

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:
"Rao, Raghu" <[log in to unmask]>
Reply To:
Rao, Raghu
Date:
Wed, 23 Oct 2002 20:50:35 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Hi,

I am trying to store records into detail dataset. The particular field that
is giving trouble to me is a I2 field {defined as S9(09) COMP}. If I move
zeroes to this field and perform a DBPUT, everything works out fine.. But
when I have a valid numeric number in this field, it stores it with trailing
zeroes..

For ex., I am moving value 1298 into this field and it gets stored as
129800000.

I tried moving the same data to this dataset item from different variables
like X(09), 9(09), ZZZZZZZZ9. But it still comes up with the same problem of
trailing zeroes..

Anyone encountered this problem ? Any solution ?

Thanks
Raghu

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2