Trimming VB file



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Trimming VB file

Postby kiranp78 » Tue Oct 09, 2012 8:21 am

Hi,
I have a Variable length input file as mentioned below.
ABC*****
XYZAB************
123456**
I want to remove the padded * from the variable length records, so that the output would be
ABC
XYZAB
123456

I tried the below card but it gives error -
SORT FIELDS=COPY
OUTFIL VTRIM=C'*',OUTREC=(1:1,4,5:5)
kiranp78
 
Posts: 1
Joined: Sun Jul 22, 2012 5:11 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Trimming VB file

Postby enrico-sorichetti » Tue Oct 09, 2012 11:14 am

why not post also the error message ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post