kihaho wrote:I have a file that contains garbage characters which is causing a hang in a batch job.
When I turn HEX on, it showed up as â€“ CC
I believe itâ€™s a carriage return.
What can I do to prevent this programmatically in the future.?
The field is defined as: PICX(60).
You mean that there are two bytes of X'C0C2'? Or one byte of X'02'?
Multiple times? In the same location?
More info is needed, but why not prevent the program outputting the data to not output the 'garbage' in the first place?
Or, after reading the record, eliminate the garbage before processing it?