Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.
Annual DataBase Update Procedures
This page describes annual release procedures for updating database with new set of THE SPECIALIST LEXICON data in lexAccess tools. This is the only procedure needed after release 2013+.
shell> cd ${LA_PRE_PROC}/PreDatabase/bin shell> 1.GenerateDbFiles ${YEAR} -------------------------------------- Which Program ? -------------------------------------- 1) Copy LEXICON 2) Copy inflVars.data 3) Generate lexicon.data 4) Generate eui.data ---------- 5) Copy above 4 files to LexAccessDbData2013+ => Go to LexAccessDbData2013+ to load files to DB tables ---------- 6) Copy Db tables from LexAccessDbData2013+ to laData 7) Back Db tables from laData to Backup/Releases/LA/laData ---------- 10) All (default: Step 1- 5) ----------
Option | File name | Action |
---|---|---|
1 | LEXICON | copy ${LEX_DIR}/data/${YEAR}/tables.frozen/LEXICON to ${LA_PRE_DB_DIR}/data/tables/LEXICON |
2 | inflVars.data | copy ${LEX_DIR}/data/${YEAR}/tables.frozen/inflVars.data to ${LA_PRE_DB_DIR}/data/tables/inflVars.data |
3 | lexicon.data | Generate ${LA_DIR}/data/tables/lexicon.data (from LEXICON)
shell> ${LA}/PreDatabase/bin/ModifyLexicon -f:d -i:LEXICON -o:lexicon.data |
4 | eui.data | Generate eui.data. The total number of EUI should be equals to total lexical records in LEXICON because this file include deleted records if using lexicon.data from LB. |
5 | Above 4 files | copy to ${DEV}/LA/lexAccessDbData2013+/data.${YEAR} |
shell> cd ${LA_PRE_PROC}/PreDatabase/bin shell> 2.AnalyzeDbFiles ${YEAR}
shell> cd ${lexAccessDbData2013+}/loadDb/bin shell> 1.Setup ${YEAR}
Manully link tables
shell> cd ${lexAccessDbData2013+}/data.${YEAR} shell> ln -sf ./tables.utf8 tables
shell> cd ${lexAccessDbData2013+}/loadDb/bin shell> 2.LoadDb 1 3
shell> cd ${lexAccessDbData2013+}/loadDb/bin shell> 3.TestDb 1 1 1 2=> The total number of lexicon does not includes deleted records.
=> Manully move HSqlDb to HSqlDb.utf8 (${lexAccessDbData2013+}/data.${YEAR}/
shell> cd ${LA_PRE_PROC}/PreDatabase/bin shell> 1.GenerateDbFiles ${YEAR} -------------------------------------- Which Program ? -------------------------------------- ... ---------- 6) Copy Db tables from LexAccessDbData2013+ to laData 7) Back Db tables from laData to Backup/Releases/LA/laData ----------
shell> cd ${lexAccess2013+}/data.${YEAR} shell> mv HSqlDb to HSqlDb.utf8 shell> 1.GenerateDbFiles ${YEAR} 6=> Copy -rp ${lexAccess2013+}/data.${YEAR}/HSqlDb.utf8 to ${DEV}/LA/laData/HSqlDb.${YEAR}
shell> 1.GenerateDbFiles ${YEAR} 7=> Copy -rp ${LA_DATA}/HSqlDb.${YEAR} ${BACKUP}Releases/LA/laData/.
=> Manully mv HSqlDb.${YEAR}.tgz to ${BACKUP}/Releases/LA/laData/HSqlDb.2.3.2/.
=> Manully rm -rf HSqlDb.${YEAR}
shell> cd ${LA_PRE_DIR}/bin shell> 3.GenerateAsciiDbFiles ${YEAR} 1 2 3 4 5
shell> cd ${lexAccessDbData2013+}/data.${YEAR} shell> ln -s ./tables.ascii tables shell> cd ${lexAccessDbData2013+}/loadDb/bin shell> 2.LoadDb 1 3
shell> 3.GenerateAsciiDbFiles ${YEAR}
6
shell> 3.GenerateAsciiDbFiles ${YEAR}
7
=> Manully mv HSqlDb.${YEAR}ASCII.tgz to ${BACKUP}Releases/LA/laData/HSqlDb.2.3.2/.
=> Manully rm HSqlDb.${YEAR}ASCII