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
 
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 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 Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am

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