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
 

 

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 Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm


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