IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Replace the un wanted TAB characters in my File with Space


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkatarao

New User


Joined: 19 Dec 2004
Posts: 23
Location: hyderabad

PostPosted: Tue Feb 12, 2008 5:52 pm
Reply with quote

Hi,

Can some one help me to replace the un wanted TAB characters in my File with Space using sort.

I want to find all the occurrences of that TAB hex Values and Replace them with Space.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 12, 2008 9:16 pm
Reply with quote

Have you looked at the ALTSEQ Control Statement?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Feb 12, 2008 10:02 pm
Reply with quote

Hello,

If this a file you are going to transmit to another system or is it one you recieved from another system? Something else?

Quote:
Can some one help me to replace the un wanted TAB characters in my File with Space using sort.
You can convert the tabs to spaces, but you may need them as delimiters.

Once the tabs have been removed, how will the data be used?
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Feb 12, 2008 11:04 pm
Reply with quote

Quote:
Can some one help me to replace the un wanted TAB characters in my File with Space using sort.

I want to find all the occurrences of that TAB hex Values and Replace them with Space.


You can use the technique discussed in the "Change all zeros in your records to spaces" Smart DFSORT Trick at:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/
Back to top
View user's profile Send private message
venkatarao

New User


Joined: 19 Dec 2004
Posts: 23
Location: hyderabad

PostPosted: Thu Feb 14, 2008 4:53 pm
Reply with quote

Thanks Frank

Technique "Change all zeros in your records to spaces" has worked Fine.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top