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
 
Unstring a Name which is in the format "Last, First M.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
legacy.arun

New User


Joined: 31 Jul 2008
Posts: 1
Location: India

PostPosted: Fri Aug 29, 2008 10:53 am    Post subject: Unstring a Name which is in the format "Last, First M.
Reply with quote

I need to Unstring name which is in the format "Last, First M." into Last name, First name, Middle name. Can you pleae let me know whether its possible through Unstring or Inspect. If not, Please let me know alternative for the issue.
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 Aug 29, 2008 10:58 am    Post subject:
Reply with quote

Hello Arun and welcome to the forums,

Yes, you can break down the name field using UNSTRING.

Before you code, make sure you allow for all possible constructions of the name. Having complete "rules" is critical.

There are other topics in the forum about ways to do this, so you might want to search and review other discussion.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Aug 29, 2008 12:33 pm    Post subject:
Reply with quote

Hi,

Well, there are many examples, jsut search around a little, as Dick said - review them & if problem doesnt' seem to get solved, post us back.

http://www.ibmmainframes.com/viewtopic.php?t=23533&highlight=unstring
http://www.ibmmainframes.com/viewtopic.php?t=29901&highlight=unstring
http://www.ibmmainframes.com/viewtopic.php?t=29348&highlight=unstring
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Format Last Record differently from r... Learncoholic DFSORT/ICETOOL 5 Tue Oct 24, 2017 12:01 pm
No new posts Format issues using XMITIP MSGDD ssdjp1 CLIST & REXX 5 Mon Oct 23, 2017 8:47 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm

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