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

Is it possible to do string manipulation using easytrive


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jaya78

New User


Joined: 11 Jun 2006
Posts: 1

PostPosted: Sun Jun 11, 2006 11:33 pm
Reply with quote

Hi

Is it possible to do string manipulation using easytrive. I have a name of length 25. I have values where my first name and last name starts. How will i separate the first and last name.

Please let me know if any has any answer. Thanks in advance.

Regards
Jaya
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Jun 12, 2006 10:36 am
Reply with quote

Could you please ellobrate your requirement...clearly??
what do you mean by manipulation??
do u wan to seperate your First name and second name or what??
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Mon Jun 12, 2006 4:11 pm
Reply with quote

well if I understand your requirement you could define a field as follows.

eg if your first name starts in pos 2 and is length 9 and last name starts in pos 11 and is length 14 then


NAME W 25 A
NAME-FIRST NAME +1 9 A
NAME-LAST NAME +10 14 A

then code

NAME = whatever-your-input-name-field-is-called

then refer to the appropriate fields

Thats too easy so I suspect that is not what you are asking!
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts Search string in job at regular Spool... CLIST & REXX 0
Search our Forums:

Back to Top