Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: Remove junk values in a file and rite only the characters

$
0
0
Author: KP1125
Subject: Remove junk values in a file and rite only the characters
Posted: Wed Jan 25, 2017 9:58 pm (GMT 5.5)

I executed an query and the output is copied to output file but their are junk values copied. I want to remove the junk characters and copy only text

Input file :

************
ARM........
UNIT.......
ARM........
OL........

Expected output file:
*******************
ARM
UNIT
ARM
OL

I tried many options but could not remove it completely as the query output is not of fixed length.

Advice how can we do it for variable length field.[/code]


Viewing all articles
Browse latest Browse all 8500

Trending Articles