Testing DATE element for spaces
Leonard_Berkowitz@harvardpilgrim.org
Leonard_Berkowitz@harvardpilgrim.org
Fri, 23 Jan 1998 10:31:41 -0500
(sorry for posting to both lists, but I am not yet confident that all of
the "wisdom" has moved to the new list already <g>)
On the HP3000, PowerHouse 7.09:
I have an element defined as a DATE and stored as ZONED*6. Some of the data
is spaces and some is 000000. What test(s) could I apply to determine what
I have.
If I use ASCII (ELEM,6), I get 000000 either way
If I use ASCII (ELEM), I get 0 either way
If I use SIZE ASCII (ELEM), I get 1 (one) either way
SIZE (ELEM) gives an error: The datatype of the item ELEM is incorrect in
this context
INDEX (ELEM) gives the same error
I suspect that MATCHPATTERN (ELEM, " ") will give the same error.
Thanks,
====================
Leonard S. Berkowitz
(work) Leonard_Berkowitz@hphc.org
(home) lberkowitz@earthlink.net