<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: AS/400 Query &#8211; how do you split names in field into seperate fields</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 09:42:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: gfprogrammer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116796</link>
		<dc:creator>gfprogrammer</dc:creator>
		<pubDate>Wed, 27 Feb 2013 17:41:37 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116796</guid>
		<description><![CDATA[I agree with ToddN2000 on checking names but you also need to check for name suffix such as Jr, Sr, III and so on.]]></description>
		<content:encoded><![CDATA[<p>I agree with ToddN2000 on checking names but you also need to check for name suffix such as Jr, Sr, III and so on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116709</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 26 Feb 2013 01:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116709</guid>
		<description><![CDATA[The simplest way is to use SQL. Even if you are required to use WRKQRY for some odd reason, SQL can make it possible for your WRKQRY queries to access the three sub-fields. Please clarify why SQL is excluded. -- Tom]]></description>
		<content:encoded><![CDATA[<p>The simplest way is to use SQL. Even if you are required to use WRKQRY for some odd reason, SQL can make it possible for your WRKQRY queries to access the three sub-fields. Please clarify why SQL is excluded. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ToddN2000</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116704</link>
		<dc:creator>ToddN2000</dc:creator>
		<pubDate>Mon, 25 Feb 2013 17:50:57 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116704</guid>
		<description><![CDATA[Unless the fields have static lengths, you will have to programatically break the fields out. That may even be a problem if the name portions are only separated with a blank. Comma delimited should have been the way to design the database. Lets say you have a female named &quot;Sue Ann Parker&quot;. How do you grab the correct first name if it has a blank in it ?Everything in this case is off one field position.If the portions of the name are static the in you query you can substring out the individual portions by starting and ending position of each piece.]]></description>
		<content:encoded><![CDATA[<p>Unless the fields have static lengths, you will have to programatically break the fields out. That may even be a problem if the name portions are only separated with a blank. Comma delimited should have been the way to design the database. Lets say you have a female named &#8220;Sue Ann Parker&#8221;. How do you grab the correct first name if it has a blank in it ?Everything in this case is off one field position.If the portions of the name are static the in you query you can substring out the individual portions by starting and ending position of each piece.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116671</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 23 Feb 2013 23:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116671</guid>
		<description><![CDATA[Comment hasn&#039;t appeared, so I&#039;ll try again. Since this is tagged &quot;(not SQL)&quot;, I assume you don&#039;t want to use QM Query. Of course, to start, you need three result fields. Let&#039;s call them FN, MI and LN for convenience here. They&#039;re based on a field we&#039;ll call FULLNAME, and they are three substring fields. The result definitions are SUBSTR(fullname, pf, lf), SUBSTR(fullname, pm, lm) and SUBSTR(fullname, pl, ll). The SUBSTR() parameters are result fields indicating position and length for each of the three. But that&#039;s where it gets messy because you tagged this with &quot;(not SQL)&quot;, and I don&#039;t know any way of going farther in any query without SQL (or other programming for OPNQRYF) unless the areas are in fixed positions. Someone else needs to continue with a more complete solution if one exists. Not much help in this comment, but hard to see what help is possible. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Comment hasn&#8217;t appeared, so I&#8217;ll try again. Since this is tagged &#8220;(not SQL)&#8221;, I assume you don&#8217;t want to use QM Query. Of course, to start, you need three result fields. Let&#8217;s call them FN, MI and LN for convenience here. They&#8217;re based on a field we&#8217;ll call FULLNAME, and they are three substring fields. The result definitions are SUBSTR(fullname, pf, lf), SUBSTR(fullname, pm, lm) and SUBSTR(fullname, pl, ll). The SUBSTR() parameters are result fields indicating position and length for each of the three. But that&#8217;s where it gets messy because you tagged this with &#8220;(not SQL)&#8221;, and I don&#8217;t know any way of going farther in any query without SQL (or other programming for OPNQRYF) unless the areas are in fixed positions. Someone else needs to continue with a more complete solution if one exists. Not much help in this comment, but hard to see what help is possible. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116635</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 23 Feb 2013 01:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-query-how-do-you-split-names-in-field-into-seperate-fields/#comment-116635</guid>
		<description><![CDATA[Once again, I entered a comment and, for some unknown reason, it&#039;s not showing up here. Apparently we&#039;ll need to wait until morning to see if the comment gets released. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Once again, I entered a comment and, for some unknown reason, it&#8217;s not showing up here. Apparently we&#8217;ll need to wait until morning to see if the comment gets released. &#8212; Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/8 queries in 0.038 seconds using memcached
Object Caching 325/326 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 10:10:26 -->