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

Unstring a Name which is in the format "Last, First M.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Aug 29, 2008 10:58 am
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

Superior Member


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

PostPosted: Fri Aug 29, 2008 12:33 pm
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.

www.ibmmainframes.com/viewtopic.php?t=23533&highlight=unstring
www.ibmmainframes.com/viewtopic.php?t=29901&highlight=unstring
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Binary File format getting change whi... All Other Mainframe Topics 5
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
Search our Forums:

Back to Top