<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pickwiki.org/index.php?action=history&amp;feed=atom&amp;title=GetNameList</id>
	<title>GetNameList - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pickwiki.org/index.php?action=history&amp;feed=atom&amp;title=GetNameList"/>
	<link rel="alternate" type="text/html" href="https://pickwiki.org/index.php?title=GetNameList&amp;action=history"/>
	<updated>2026-04-28T22:12:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://pickwiki.org/index.php?title=GetNameList&amp;diff=1823&amp;oldid=prev</id>
		<title>Conversion script: link fix</title>
		<link rel="alternate" type="text/html" href="https://pickwiki.org/index.php?title=GetNameList&amp;diff=1823&amp;oldid=prev"/>
		<updated>2015-02-26T23:48:54Z</updated>

		<summary type="html">&lt;p&gt;link fix&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a program to build a select list (and list names to screen ). &lt;br /&gt;
It uses a file called MEMBERS and works with fields LAST.NAME and FIRST.NAME. &lt;br /&gt;
New fields LASTX and FIRSTX were created as &amp;quot;I&amp;quot; descriptors. &amp;lt;2&amp;gt; SOUNDEX(FIELD(@RECORD&amp;lt;3&amp;gt;,&amp;#039; &amp;#039;,1)) for last name process.&lt;br /&gt;
I indexed on LASTX and FIRSTX for file MEMBERS.&lt;br /&gt;
MEMBERS has 2.6 million records and took 135 seconds to select specific names.&lt;br /&gt;
We are using an &amp;quot;L&amp;quot; class machine running with 3 CPUs and EMC box for drives.&lt;br /&gt;
With specific first and last spelled like name sounds usually turns up the name among others in just a fraction of a second.&lt;br /&gt;
If you use a &amp;quot;*&amp;quot; then it may get slower to &amp;quot;sort&amp;quot; the select list into the sorted order for display.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
      OPEN &amp;quot;MEMBERS&amp;quot; TO MEMF ELSE STOP&lt;br /&gt;
      CRT &amp;#039;First Name: &amp;#039;:&lt;br /&gt;
      INPUT FNAM&lt;br /&gt;
      CRT &amp;#039;Last Name:  &amp;#039;:&lt;br /&gt;
      INPUT LNAM&lt;br /&gt;
      CRT &amp;#039;(E)xact or (S)ounds alike? &amp;#039;:&lt;br /&gt;
      INPUT SND,1&lt;br /&gt;
      LASTX = SOUNDEX(LNAM)&lt;br /&gt;
      ECMD = &amp;#039;SELECT MEMBERS &amp;#039;&lt;br /&gt;
      IF LNAM # &amp;#039;*&amp;#039; THEN&lt;br /&gt;
         ECMD := &amp;#039;WITH LASTX = &amp;quot;&amp;#039;:LASTX:&amp;#039;&amp;quot;&amp;#039;&lt;br /&gt;
         EXECUTE ECMD,/[[/STATUS]].&amp;gt;KNT&lt;br /&gt;
      END ELSE KNT = 6000&lt;br /&gt;
      IF KNT &amp;gt; 33 THEN&lt;br /&gt;
         IF FNAM # &amp;#039;*&amp;#039; THEN&lt;br /&gt;
            IF KNT # 6000 THEN ECMD := &amp;#039; AND&amp;#039;&lt;br /&gt;
            ECMD := &amp;#039; WITH FIRSTX = &amp;quot;&amp;#039;:SOUNDEX(FNAM):&amp;#039;&amp;quot;&amp;#039;&lt;br /&gt;
            EXECUTE ECMD,/[[/STATUS]].&amp;gt;KNT&lt;br /&gt;
            IF KNT = 0 THEN&lt;br /&gt;
               CRT &amp;#039;NO SELECTION, QUITTING...&amp;#039;&lt;br /&gt;
               STOP&lt;br /&gt;
            END ELSE CRT ECMD&lt;br /&gt;
         END&lt;br /&gt;
      END&lt;br /&gt;
      EOF = 0&lt;br /&gt;
      IF SND = &amp;#039;E&amp;#039; THEN&lt;br /&gt;
         ECMD&amp;lt;-1&amp;gt; = &amp;#039;LIST MEMBERS &amp;#039;&lt;br /&gt;
         IF LNAM # &amp;#039;*&amp;#039; THEN ECMD := &amp;#039;WITH LAST.NAME = &amp;quot;&amp;#039;:LNAM:&amp;#039;&amp;quot; &amp;#039;&lt;br /&gt;
         IF FNAM # &amp;#039;*&amp;#039; THEN ECMD := &amp;#039;WITH FIRST.NAME LIKE &amp;quot;&amp;#039;:FNAM:&amp;#039;...&amp;quot;&amp;#039;&lt;br /&gt;
         ECMD := &amp;#039;BY LAST.NAME BY FIRST.NAME &amp;#039;&lt;br /&gt;
         ECMD := &amp;#039;FIRST.NAME LAST.NAME FIRSTX LASTX&amp;#039;&lt;br /&gt;
      END ELSE&lt;br /&gt;
         ECMD&amp;lt;-1&amp;gt; = &amp;#039;LIST MEMBERS BY LASTX BY LAST.NAME BY FIRST.NAME &amp;#039;&lt;br /&gt;
         ECMD := &amp;#039;FIRST.NAME LAST.NAME FIRSTX LASTX&amp;#039;&lt;br /&gt;
      END&lt;br /&gt;
      EXECUTE ECMD&lt;br /&gt;
      INPUT ANS,1&lt;br /&gt;
      CRT &amp;#039;ALL DONE&amp;#039;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
</feed>