Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Replace the un wanted TAB characters in my File with Space

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
venkatarao

New User


Joined: 19 Dec 2004
Posts: 24
Location: hyderabad

PostPosted: Tue Feb 12, 2008 5:52 pm    Post subject: Replace the un wanted TAB characters in my File with Space
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: 2150
Location: At my coffee table

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

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

Site Director


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

PostPosted: Tue Feb 12, 2008 10:02 pm    Post subject:
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 Moderator


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

PostPosted: Tue Feb 12, 2008 11:04 pm    Post subject:
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:

http://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: 24
Location: hyderabad

PostPosted: Thu Feb 14, 2008 4:53 pm    Post subject: Reply to: Replace the un wanted TAB characters in my File wi
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us