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

DFSORT/ICETOOL :: RE: Removing Extra Spaces in a comma separated file

$
0
0
Author: magesh23586
Subject: Reply to: Removing Extra Spaces in a comma separated file
Posted: Tue Sep 13, 2016 11:10 am (GMT 5.5)

May be this will work.

Code:

//SYSIN  DD *                                               
  OPTION COPY                                               
  INREC IFTHEN=(WHEN=INIT,                                   
                FINDREP=(INOUT=(C'                ,',C',',   
                                C'               ,',C',',   
                                C'              ,',C',',     
                                C'             ,',C',',     
                                C'            ,',C',',       
                                C'           ,',C',',       
                                C'          ,',C',',         
                                C'         ,',C',',         
                                C'        ,',C',',           
                                C'       ,',C',',           
                                C'      ,',C',',             
                                C'     ,',C',',             
                                C'    ,',C',',               
                                C'   ,',C',',               
                                C'  ,',C',',                 
                                C' ,',C',')))               

_________________
Regards,
Magesh


Viewing all articles
Browse latest Browse all 8500

Trending Articles