On Thu, 29 Dec 2011 09:19:30 -0600, Brad Wissink wrote:

>We have a client that is trying to transfer us a file and it is loaded with 
>nulls.  They say that is the way it comes from the purchased software they 
>have on their workstation.  The file has a null character inserted after every 
>character so it looks like this
>
>1 12/29/2011   becomes  F1004000F100F2006100F200F9006100F200F000F100F100.......
>
>Has anyone seen anything like this before?  Is there a quick and easy way to 
>remove all the nulls?
> 
When I simply open a file with vi, it complains about any nulls.  When I
save it, the nulls are gone.

Disclaimer:  I've experienced this behavior on other systems; never
tried it on z/OS

What about "tr -d \000"?  (I haven't tried it.)

I bet perl would be great for that.  John?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to