| 1 |
/* |
| 2 |
* @progname surname1.ll |
| 3 |
* @version 1.0 |
| 4 |
* @author Manis, Wetmore |
| 5 |
* @category |
| 6 |
* @output Text, 132 cols |
| 7 |
* @description |
| 8 |
|
| 9 |
* LifeLines Report for quickly getting output of all individuals with a |
| 10 |
* a particular surname. |
| 11 |
|
| 12 |
|
| 13 |
* surname1 |
| 14 |
* |
| 15 |
* LifeLines Report for quickly getting output of a particular |
| 16 |
* surname. |
| 17 |
* by Cliff Manis, and Tom Wetmore |
| 18 |
* 22 March 1993 |
| 19 |
* |
| 20 |
* Sample 132 column output at end of this report. |
| 21 |
*/ |
| 22 |
|
| 23 |
proc main () |
| 24 |
{ |
| 25 |
indiset(idx) |
| 26 |
getindiset(idx) |
| 27 |
dayformat(0) |
| 28 |
monthformat(4) |
| 29 |
dateformat(0) |
| 30 |
set(tday, gettoday()) |
| 31 |
|
| 32 |
print(nl()) |
| 33 |
print("begin sorting") print(nl()) |
| 34 |
namesort(idx) |
| 35 |
print("done sorting") print(nl()) |
| 36 |
|
| 37 |
col(1) "\nSurname Report by: Cliff Manis\n" |
| 38 |
col(1) " P. O. Box 33937\n" |
| 39 |
col(1) " San Antonio, Texas 78265-3937\n" |
| 40 |
col(1) " Phone: 1-512-654-9912\n\n" |
| 41 |
col(1) " Date: " stddate(tday) "\n\n" |
| 42 |
col(1) "This report is formatted 132 columns per line.\n\n" |
| 43 |
col(1) "Index of all persons in database with this surname\n\n" |
| 44 |
col(1) "Individual" |
| 45 |
col(34) "Brth" |
| 46 |
col(39) "Deat" |
| 47 |
col(44) "First Spouse" |
| 48 |
col(75) "Father" |
| 49 |
col(106) "Mother" |
| 50 |
col(1) "----------------------------------------" |
| 51 |
"----------------------------------------" |
| 52 |
"----------------------------------------" |
| 53 |
forindiset(idx,indi,v,n) { |
| 54 |
col(1) fullname(indi,1,0,29) |
| 55 |
col(34) year(birth(indi)) |
| 56 |
col(39) year(death(indi)) |
| 57 |
if(gt(nspouses(indi), 0)) { |
| 58 |
spouses(indi, spou, fam, n) { |
| 59 |
if (eq(1,n)) { |
| 60 |
col(44) fullname(spou,1,0,29) |
| 61 |
} |
| 62 |
} |
| 63 |
} |
| 64 |
if(fath,father(indi)) { |
| 65 |
col(75) fullname(fath,1,0,29) |
| 66 |
} |
| 67 |
if(moth,mother(indi)) { |
| 68 |
col(106) fullname(moth,1,0,29) |
| 69 |
} |
| 70 |
} |
| 71 |
nl() |
| 72 |
print(nl()) |
| 73 |
} |
| 74 |
|
| 75 |
/* Output format of above report: |
| 76 |
|
| 77 |
Surname Report by: Cliff Manis |
| 78 |
P. O. Box 33937 |
| 79 |
San Antonio, Texas 78265-3937 |
| 80 |
Phone: 1-512-654-9912 |
| 81 |
|
| 82 |
Date: 24 Mar 1993 |
| 83 |
|
| 84 |
This report is formatted 132 columns per line. |
| 85 |
|
| 86 |
Index of all persons in database with this surname |
| 87 |
|
| 88 |
Individual Brth Deat First Spouse Father Mother |
| 89 |
------------------------------------------------------------------------------------------------------------------------ |
| 90 |
HARRIS, ----- KINDER, Ann |
| 91 |
HARRIS, Agnes BRADSHAW, Henry |
| 92 |
HARRIS, George Brison 1877 1956 HARRIS, Frederick MANUS, Mary Amanda |
| 93 |
HARRIS, Hope Catewood 1951 HARRIS, Richard Calhoun RANKIN, Nuva Jean |
| 94 |
HARRIS, Jesse Mae TIPTON, Burrell Andrew |
| 95 |
HARRIS, Lenora 1881 1962 BRADSHAW, Ralph Rankin |
| 96 |
HARRIS, Linda BENTON, David Edward |
| 97 |
HARRIS, Lucy Jane 1879 1948 HARRIS, Frederick MANUS, Mary Amanda |
| 98 |
HARRIS, Marvin SUMMIT, Agness |
| 99 |
HARRIS, Mary Elizabeth 1875 1950 HARRIS, Frederick MANUS, Mary Amanda |
| 100 |
HARRIS, Melvinia Josephine 1864 1944 RHODES, William Wesley |
| 101 |
HARRIS, Nathan Washington 1870 1947 HARRIS, Frederick MANUS, Mary Amanda |
| 102 |
HARRIS, Nora Emma 1880 MANESS, William Curtis |
| 103 |
HARRIS, Rebecca RHOTON, David Jesse |
| 104 |
HARRIS, Terri DAUGHERTY, Dana |
| 105 |
HARRIS, William Latham 1872 1927 HARRIS, Frederick MANUS, Mary Amanda |
| 106 |
|
| 107 |
-end of report- |
| 108 |
*/ |