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

Removing Of Special Characters


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

Active User


Joined: 20 Sep 2008
Posts: 106
Location: Bangalore

PostPosted: Fri Feb 27, 2009 11:05 am
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

Moderator Emeritus


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

PostPosted: Fri Feb 27, 2009 11:17 am
Reply with quote

Hello,

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

Active User


Joined: 20 Sep 2008
Posts: 106
Location: Bangalore

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

Hi,

Thanks for the help.

I got my output.
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: Fri Feb 27, 2009 9:39 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Count the number of characters in a f... CA Products 1
No new posts Removing date values lines/records fr... SYNCSORT 2
No new posts Tilde Characters Changing to COLONs i... CLIST & REXX 22
Search our Forums:

Back to Top