Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is there any Function to find Special Characters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Thu Sep 03, 2009 11:51 am    Post subject: Is there any Function to find Special Characters
Reply with quote

Hi All,
Is there any Function to find Special Characters in a String in Easytrieve.
For eg: First Name is Anand$
Last Name is Murugesan%
here i want to verify each and every character whether it is an alphabet(Capital or small) or spaces. if it is Alphabets or spaces then i dont want them if it is special character then i need those records.
First Name starts at 10 length 30
Last Name starts at 20 length 40
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 03, 2009 11:58 am    Post subject:
Reply with quote

It might help if you told us which of the CA products that you are using, or planning to use.
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Thu Sep 03, 2009 12:21 pm    Post subject: Reply to: Is there any Function to find Special Characters
Reply with quote

Expat,
I am using CA-EASYTRIEVE PLUS-6.3 version.
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: Thu Sep 03, 2009 7:58 pm    Post subject:
Reply with quote

Hello,

Easytrieve 6.3 is way out of date. . . It is also out of support. . .

To do what you want, make an array of the "good" values (letters, spaces - numerics?) and compare each character (make this an array also) of the "input" to that array.
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Fri Sep 04, 2009 12:23 pm    Post subject: Reply to: Is there any Function to find Special Characters
Reply with quote

Dick,
Thanks for the response. I declared group variables and checked each and every character. it worked.
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 Sep 04, 2009 8:42 pm    Post subject: Reply to: Is there any Function to find Special Characters
Reply with quote

You're welcome icon_smile.gif

Good to hear it is working - thanks for letting us know.

d
Back to top
View user's profile Send private message
kratos86

Active User


Joined: 17 Mar 2008
Posts: 148
Location: Anna NGR

PostPosted: Wed Sep 30, 2009 9:25 am    Post subject:
Reply with quote

Hi expat,

Is there any option available in CA-EASYTRIEVE PLUS-6.4 version.
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: Wed Sep 30, 2009 7:17 pm    Post subject:
Reply with quote

Hello,

The solution above will work for 6.4 also.

I know of no built-in Easytrieve function.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us