ITS Serials Solutions procedures as of Sept. 2010
old method of loading records
We will be getting marc records which will be updated every month with a new file which will contain:
- -deletes
- -updates
- -and new records
The procedure will walk one through the new steps to find the matching records, strip out the local tags, remove copies from the matched records and change the matched records back to having an XX (ckey) call number AUTO class scheme. Then the load program will run which will overlay update records and load new records in the latest file and remove the deleted record(s).
This new method means there are no duplicate records during the monthly load process and records retain their ckey during any updates.
Timing of the Process
- Run the findmatch process any day of the week, this process will find matches and :
- remove local tags from the matched records
- remove copies from the matched records
- use api transactions to change the matched record's call number to AUTO class scheme and XX call number
- Run the load process right after, which will take the full Serials Solutions file and use catalogload to load it in. It will update the matched records, delete the records marked for deletion and load the new records. Parameters of catalogload are:
- catalogload -aSERIAL -bf -im -e"$INPUT.err" -fg -hs"949" -n"LC,949,a" -mb -j -4"junktag.sersolutions" -r -ucm -Dd >$INPUT.ckeys.$today 2>${temp}log
- The findmatch and load programs can BOTH be done on the same night via crontab. Be careful to split the incoming file if the number of records being dealt with is over 10,000 records so that it can go through adutext without
causing it to crook-which then would take a rebuildtext to fix. If you were to hit the limit (KUNI.tbl) while running an adutext report, the report would error out with a message such as "Inverted file size limit exceeded" and at that point Sirsi would have to increase the size values in KUNI.tbl and run rebuildtext. See incident 64084 for details.
- FTP, in binary mode, the marc file of records from the serials solutions site ftp.serialssolutions.com (see SS folder for login/password) login and password are now part of the /s/sirsi/.netrc file so you can get automatically logged in
- They should have provided ONE file with all the changed records, deleted records and new records. This is the file to work with. If they
provided 3 separate files (one for changed records, delete records and
new records IGNORE the brief record file for now per CMB), create a
single file via:
cat fileof_changed.mrc fileof_new.mrc fileof_deleted.mrc |\
flatskip -im -om -aMARC > onefileall.mrc
- Create a sample of 10 flat records for Joyce Fahlman to review in case of obvious problems. Use the sampleSS.ksh program or:
- cat the_ftp_MARC_file_of_the_month | flatskip -aSERIAL -dN -im -of -w1 > jul04.sample
- get
a second random record via: cat the_ftp_MARC_file_of_the_month |
flatskip -aSERIAL -dN -im -of -w1 -s100 >> jul04.sample
- continue
to use the s parameter to skip X number of records and the w parameter
to write out a single record until you have a file of 10 or so for
Carol.
- Setup the crontab to run findmatchv3.ksh as in:
30 11 2 2 * /s/sirsi/Unicorn/Work/NDL/Serialsolutions/findmatchv3.ksh /s/sirsi/Unicorn/Work/NDL/Serialsolutions/sept14all.mrc 2>/s/sirsi/Unicorn/Work/ss.err3
- Setup the sirsi crontab to run the loadNEWcronv3.ksh program as in:
30 12 3 2 * /s/sirsi/Unicorn/Work/NDL/Serialsolutions/loadNEWcronv3.ksh 2>/s/sirsi/Unicorn/Work/NDL/Serialsolutions/ssload.err
- This program will read the stamp file to get the YYYYMM which it then uses to find the YYYYMM.mrc file to load into the database with a date catalogued of 20010101 and create/update catalogload parameter. The catalogload parameter of -dD will delete the records marked for deletions. The old date catalogued is used so that these records are NOT sent off with record exports to NLC or included in new book lists!
- This program will send it's log via email
- Files created or removed from Work/NDL/Serialsolutions:
- leftckeys which is a file of the ckeys which will remain in the database from past loads after the matchedckeys.sort ckeys are removed by the next program.
- ALLckeys.sort.bak which is the old sorted file of all the serial solutions ckeys in the database
- ALLckeys.sort which is a new sorted file of all the leftckeys plus new ckeys from this current programs loaded records
- YYYYMM.mrc.log.YYYYMMDY the log which is emailed is also in the directory
- YYYYMM.mrc.ckeys.YYYYMMDY list of ckeys for the new loaded SS records
- ssloaded a file with just the number of SS record loaded
- ssload.err a file of any errors which the crontab running of loadNEWcronv2.ksh has, should always be zero bytes of data
- program does a rm -f of the stamp file since it is done loading records and nothing else needs to use the stamp file
- moves the ssloaded file created by loadNEWcronv2.ksh to ssloaded.bak
- moves the sstotalrecords file created by findmatchv2.ksh to sstotalrecords.b
ak
- moves the matchedckeys.sort created by findmatchv2.ksh to matchedckeys.sort.
bak
- check the logs
- check the error file
- let adutext run to clean out the ckeys
- update this webpage with stats which were in the emailed log from loadNEWcronv3.ksh
Remember for testing flatskip
is very helpful to write out 5 or 10 records as in: cat ...mrc |
flatskip -aMARC -w5 -im -of Where w is for the number of records
written out and -s is the number of records to skip.
Statistics
DATE | # Marc records in ss file* | # deleted** | # replaced*** | #loaded**** | Total number in our system | Comments |
Sept 2010 | 669 | 23 | 381 | 265 | 34139 |
|
Oct 15 2010 | 1050 | 45 | 634 | 371 | 34465 |
|
Nov 16 2010 | 1070 | 232 | 634 | 204 | 34437 |
|
Dec 17 2010 | 929 | 60 | 460 | 409 | 34786 |
|
Jan 15 2011 | 1217 | 296 | 555 | 366 | 34856 |
|
Feb 16 2011 | 2908 | 195 | 1599 | 1114 | 35775 |
|
Mar 17 2011 | 2946 | 121 | 1286 | 1539 | 37193 |
|
Apr 14 2011 | 2850 | 425 | 1812 | 613 | 37381 |
|
May 14 2011 | 1166 | 178 | 559 | 429 | 37632 |
|
Jun 18 2011 | 1610 | 231 | 806 | 573 | 37974 |
|
July 15, 2011 | 1103 | 137 | 631 | 335 | 38172 |
|
Aug 16, 2011 | 1825 | 34 | 1146 | 645 | 38783 |
|
Sept 25, 2011 | 2229 | 59 | 1298 | 872 | 39,596 |
|
Nov 11, 2011 | 4751 | 467 | 3440 | 844 | 39,973 |
|
Nov 17, 2011 | 180 | 4 | 141 | 35 | 40,004 |
|
Dec 18, 2011 | 3491 | 158 | 3023 | 310 | 40,156 |
|
Jan 21, 2012 | 2064 | 247 | 1197 | 620 | 40,529 |
|
Feb 19, 2012 | 12,541 | 119 | 12,018 | 404 | 40,814 |
|
Mar 27, 2012 | 1,480 | 163 | 862 | 455 | 41,106 |
|
Apr 20, 2012 | 1,874 | 326 | 1019 | 529 | 41,309 |
|
May 16, 2012 | 1,092 | 117 | 765 | 210 | 41,402 |
|
June 26, 2012 | 2028 | 182 | 960 | 886 | 42,106 |
|
July 18, 2012 | 764 | 64 | 551 | 149 | 42,191 |
|
Aug 22, 2012 | 1016 | 69 | 619 | 328 | 42,450 |
|
Sept 20, 2012 | 1042 | 70 | 738 | 234 | 42,614 |
|
Oct 17, 2012 | 996 | 21 | 744 | 231 | 42,824 |
|
Nov 20, 2012 | 5056 | 20 | 4789 | 247 | 43,051 |
|
Dec 18, 2012 | 6778 | 32 | 6206 | 540 | 43,559 |
|
Jan 17, 2013 | 1968 | 48 | 1244 | 676 | 44,187 |
|
Feb 20, 2013 | 3738 | 114 | 3025 | 599 | 44,672 |
|
Mar 19, 2013 | 3538 | 44 | 2763 | 731 | 45,359 |
|
Mar 20, 2013 | 3539 | 44 | 2764 | 731 | 46,046 |
|
Apr 20, 2013 | 5790 | 33 | 5259 | 498 | 46,511 |
|
Apr 22, 2013 | 5791 | 33 | 5259 | 499 | 46,977 |
|
July 4-7, 2013 | | | | | | File for May June with 22,232 changed records, 1539 new and 375 deleted broken into 6 files |
July 4, 2013 | 4023 | 62 | 3705 | 256 | 47,171 |
|
July 5, 2013 | 4023 | 62 | 3705 | 256 | 47,365 |
|
July 6, 2013 load 1 | 4023 | 62 | 3705 | 256 | 47,559 |
|
July 6, 2013 load 2 | 4023 | 62 | 3705 | 256 | 47,753 |
|
July 7, 2013 load 1 | 4023 | 62 | 3705 | 256 | 47,947 |
|
July 7, 2013 load 2 | 4031 | 65 | 3707 | 259 | 48,141 |
|
Aug 21, 2013 | 4841 | 80 | 4283 | 478 | 48,539 |
|
Sept 18, 2013 | 1596 | 296 | 810 | 490 | 48,733 |
|
Oct 21, 2013 | 2442 | 175 | 1430 | 837 | 49,395 |
|
Nov 15, 2013 | 2884 | 194 | 1259 | 1431 | 50,632 |
|
Dec 22, 2013 | 1376 | 89 | 662 | 625 | 51,168 |
|
Jan 18, 2014 | 1577 | 154 | 659 | 764 | 51,778 |
|
Feb 21, 2014 | 3615 | 576 | 973 | 2066 | 53,268 |
|
Mar 17, 2014 | 2687 | 168 | 685 | 1834 | 54,934 |
|
Apr 17, 2014 | 2940 | 110 | 1259 | 1571 | 56,395 |
|
May 16, 2014 | 1913 | 208 | 1429 | 276 | 56,463 |
|
Jun 20, 2014 | 1780 | 174 | 1309 | 297 | 56,586 |
|
July 18, 2014 | 1917 | 83 | 874 | 960 | 57,463 |
|
Aug 19, 2014 | 3348 | 117 | 2053 | 1178 | 58,524 |
|
Sept 16, 2014 | 1616 | 109 | 751 | 756 | 59,171 |
|
Oct 22, 2014 | 1992 | 144 | 953 | 895 | 59,922 |
|
Nov 26, 2014 | 2094 | 190 | 1294 | 610 | 60,342 |
|
Dec 9, 2014 | 635 total in ss file | 53 deleted | 402 replaced | 180 loaded | 60,469 |
|
Jan 28, 2015 | 1649 total in ss file | 38 deleted | 1505 replaced | 106 loaded | 60,537 |
|
Feb 18, 2015 | 2241 total in ss file | 67 deleted | 2013 replaced | 161 loaded | 60,631 |
|
Mar 24, 2015 | 1963 total in ss file | 508 deleted | 1107 replaced | 348 loaded | 60,471 |
|
Apr 16, 2015 | 1313 total in ss file | 97 deleted | 1081 replaced | 135 loaded | 60,509 |
|
May 17, 2015 | 2053 total in ss file | 44 deleted | 1837 replaced | 172 loaded | 60,637 |
|
June 19, 2015 | 1093 total in ss file | 83 deleted | 906 replaced | 104 loaded | 60,658 |
|
Aug 17-23, 2015 | - | ALL deleted in batches | - | - | 0 | Done loading into system, just in Summon now
|
* Incoming Serials Solutions file includes updates, new records and deleted records
** The number of deletions is how many records were sent from SS for deletion
*** The number of replaced records is the number SS sent for update
**** The number of records loaded are just the NEW records
NDL
University of Calgary Library, ITS