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
 
Removing Of Special Characters

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

Active User


Joined: 20 Sep 2008
Posts: 102
Location: Bangalore

PostPosted: Fri Feb 27, 2009 11:05 am    Post subject: Removing Of Special Characters
Reply with quote

Hi ,


I am having an input file of lrecl = 80. Like below,

Code:

----+----1----+----2----+----3----+----4----+----5----+----6-
999 Yeasd aasdjj 451 % dasd *gsfatv
as-uuhasd454& sdadb $sdaa ( da


So My out puts should be like below,
OUTPUT - 1

Code:

----+----1----+----2----+----3----+----4----+----5----+----6-
999 Yeasd aasdjj 451  dasd gsfatv
asuuhasd454 sdadb sdaa  da


Here the Special characters were replaced by the next charater to them.

OUTPUT - 2

Code:

----+----1----+----2----+----3----+----4----+----5----+----6-
999 Yeasd aasdjj 451   dasd  gsfatv
as uuhasd454  sdadb  sdaa   da


Here the characters rwere replaced by Space.

The Special Characters were ( %, *, $, -, ), &, ( , ^ )
These characters can appear at anytime in the File.

Please help me if someone is having the Sort card for the same.
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: Fri Feb 27, 2009 11:17 am    Post subject:
Reply with quote

Hello,

Look at this recent topic:
http://ibmmainframes.com/viewtopic.php?t=38367
Back to top
View user's profile Send private message
Niki

Active User


Joined: 20 Sep 2008
Posts: 102
Location: Bangalore

PostPosted: Fri Feb 27, 2009 1:09 pm    Post subject:
Reply with quote

Hi,

Thanks for the help.

I got my output.
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: Fri Feb 27, 2009 9:39 pm    Post subject: Reply to: Removing Of Special Characters
Reply with quote

You're welcome - thanks for letting us know you have a solution icon_smile.gif

d
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Removing Extra Spaces in a comma sepa... Puspojit DFSORT/ICETOOL 3 Tue Sep 13, 2016 7:46 am

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