Strange characters in data
Walker, Chris
ChrisWalker@tateandlyle.com
Tue, 15 Jun 1999 18:57:22 +0100
Hex 20 is a space, so there's no point in trimming it as the resulting
fixed-length field is space-padded. For hex 00:
def d_zero integer size 1 = 0
def d_null char*1 = character(d_zero)
def d_ndx = index(stringfield, d_null) ;Or the other way round, why
can I never remember this?
> -----Original Message-----
> From: Terry Pickering [SMTP:pickering@myself.com]
> Sent: Tuesday, June 15, 1999 6:51 PM
> To: powerh-l@lists.swau.edu
> Subject: RE: Strange characters in data
>
> I tried the suggestion about using an item statement with the value saved
> - didn't work.
>
> The original file is a VARIABLE length record and the field is 34
> characters (as defined in the dictionary). I was truncating it down from
> 34 to 15 because that's all we use. When I "dumped" the record. It appears
> some of the characters following the last good ones are HEX 20 and HEX 00.
>
>
> So how do I go about trying to find these with an index function? I know
> how to use it normally, but how do you search for HEX values?
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Terry Pickering Consultant Extraordinare
> Monday and Friday Tuesday - Thursday
> Portland Eugene
> (503) 245-7178 (541) 687-3416
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ = = = = = = = =
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 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.