Doing fname = VicTrack_UNI.csv ++++++++++++++++++++++++++++ ===================================================== aline=[OldExtn,OldExtnGgroup,OldDepartment,OldDivision,OldParent,OldPABX,NewVACE=tnGroup,NewExtn,NewExtnGroup,NewDepartment,NewDivision,NewParent,NewPABX=NewLocation,NewTelephone ] Skip header ===================================================== aline=[18000 ,593UNI ,,VRT ,,UNI ,,18000 ,593UC ,,VRT ,,UNI , ] OldExtn=[18000 ] OldExtnGroup=[593UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18000 ] NewExtnGroup=[593UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18000 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18000 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18000 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18000 " deleterecordno nrows=No Counting Dir entry for Oldextn 18000 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "593UNI " AND extension = 18000 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18000 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18000 " deleterecordno nrows=No Moving Dir entry for Oldextn 18000 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18000 and fgroup != "V"" handleOld() recordno=168747 surname=DEL VECCHIO firstname=BRUNO extension=18000 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18000 ,site="UNI " ,extgroupunique="593UC " where recordno = 168747] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18000 ,site="UNI " ,extgroupunique="593UC " where recordno = 168747" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168747] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168747" nrows=1 ===================================================== aline=[18001 ,593UNI ,,VRT ,,UNI ,,18001 ,593UC ,,VRT ,,UNI , ] OldExtn=[18001 ] OldExtnGroup=[593UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18001 ] NewExtnGroup=[593UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18001 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18001 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18001 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18001 " deleterecordno nrows=No Counting Dir entry for Oldextn 18001 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "593UNI " AND extension = 18001 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18001 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18001 " deleterecordno nrows=No Moving Dir entry for Oldextn 18001 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18001 and fgroup != "V"" handleOld() recordno=42519 surname=MURPHY firstname=DENNIS extension=18001 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18001 ,site="UNI " ,extgroupunique="593UC " where recordno = 42519] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18001 ,site="UNI " ,extgroupunique="593UC " where recordno = 42519" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42519] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42519" nrows=1 ===================================================== aline=[18002 ,593UNI ,,VRT ,,UNI ,,18002 ,593UC ,,VRT ,,UNI , ] OldExtn=[18002 ] OldExtnGroup=[593UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18002 ] NewExtnGroup=[593UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18002 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18002 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18002 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18002 " deleterecordno nrows=No Counting Dir entry for Oldextn 18002 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "593UNI " AND extension = 18002 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18002 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18002 " deleterecordno nrows=No Moving Dir entry for Oldextn 18002 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18002 and fgroup != "V"" handleOld() recordno=169810 surname=WEBB firstname=ALISTAIR extension=18002 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18002 ,site="UNI " ,extgroupunique="593UC " where recordno = 169810] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18002 ,site="UNI " ,extgroupunique="593UC " where recordno = 169810" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169810] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169810" nrows=1 ===================================================== aline=[18003 ,593UNI ,,VRT ,,UNI ,,18003 ,593UC ,,VRT ,,UNI , ] OldExtn=[18003 ] OldExtnGroup=[593UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18003 ] NewExtnGroup=[593UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18003 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18003 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18003 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18003 " deleterecordno nrows=No Counting Dir entry for Oldextn 18003 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "593UNI " AND extension = 18003 and fgroup != "V"" nrows=5 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18003 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18003 " deleterecordno nrows=No Moving Dir entry for Oldextn 18003 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18003 and fgroup != "V"" handleOld() recordno=169863 surname=LI firstname=JIANSHENG extension=18003 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 169863] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 169863" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169863] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169863" handleOld() recordno=157885 surname=VANEK firstname=PETER extension=18003 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 157885] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 157885" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 157885] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 157885" handleOld() recordno=168756 surname=KAPSIMALLIS firstname=JIM extension=18003 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 168756] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 168756" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168756] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168756" handleOld() recordno=168759 surname=TRAN firstname=TINH extension=18003 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 168759] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18003 ,site="UNI " ,extgroupunique="593UC " where recordno = 168759" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168759] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168759" nrows=5 ===================================================== aline=[18004 ,593UNI ,,VRT ,,UNI ,,18004 ,593UC ,,VRT ,,UNI , ] OldExtn=[18004 ] OldExtnGroup=[593UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18004 ] NewExtnGroup=[593UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18004 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18004 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18004 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18004 " deleterecordno nrows=No Counting Dir entry for Oldextn 18004 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "593UNI " AND extension = 18004 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18004 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18004 " deleterecordno nrows=No Moving Dir entry for Oldextn 18004 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18004 and fgroup != "V"" handleOld() recordno=168761 surname=GABRIEL firstname=RUSSELL extension=18004 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18004 ,site="UNI " ,extgroupunique="593UC " where recordno = 168761] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18004 ,site="UNI " ,extgroupunique="593UC " where recordno = 168761" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168761] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168761" nrows=1 ===================================================== aline=[18005 ,593UNI ,,VRT ,,UNI ,,18005 ,593UC ,,VRT ,,UNI , ] OldExtn=[18005 ] OldExtnGroup=[593UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18005 ] NewExtnGroup=[593UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18005 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18005 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18005 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18005 " deleterecordno nrows=No Counting Dir entry for Oldextn 18005 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "593UNI " AND extension = 18005 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18005 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18005 " deleterecordno nrows=No Moving Dir entry for Oldextn 18005 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "593UNI " AND extension = 18005 and fgroup != "V"" handleOld() recordno=170406 surname=BASZAK firstname=STEVEN extension=18005 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18005 ,site="UNI " ,extgroupunique="593UC " where recordno = 170406] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18005 ,site="UNI " ,extgroupunique="593UC " where recordno = 170406" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 170406] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 170406" handleOld() recordno=168758 surname=LAO firstname=VANN extension=18005 site=UNI extgroupunique=593UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18005 ,site="UNI " ,extgroupunique="593UC " where recordno = 168758] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18005 ,site="UNI " ,extgroupunique="593UC " where recordno = 168758" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168758] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168758" nrows=2 ===================================================== aline=[18006 ,580UNI ,,VRT ,,UNI ,,18006 ,580UC ,,VRT ,,UNI , ] OldExtn=[18006 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18006 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18006 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18006 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18006 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18006 " deleterecordno nrows=No Counting Dir entry for Oldextn 18006 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18006 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18006 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18006 " deleterecordno nrows=No Moving Dir entry for Oldextn 18006 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18006 and fgroup != "V"" handleOld() recordno=42524 surname=VERMA firstname=DEEPAK extension=18006 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18006 ,site="UNI " ,extgroupunique="580UC " where recordno = 42524] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18006 ,site="UNI " ,extgroupunique="580UC " where recordno = 42524" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42524] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42524" nrows=1 ===================================================== aline=[18007 ,965UNI ,,VRT ,,UNI ,,18007 ,965UC ,,VRT ,,UNI , ] OldExtn=[18007 ] OldExtnGroup=[965UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18007 ] NewExtnGroup=[965UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18007 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18007 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18007 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18007 " deleterecordno nrows=No Counting Dir entry for Oldextn 18007 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "965UNI " AND extension = 18007 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "965UNI " AND extension = 18007 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18007 " deleterecordno nrows=No Moving Dir entry for Oldextn 18007 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "965UNI " AND extension = 18007 and fgroup != "V"" handleOld() recordno=169398 surname=PARSONS firstname=JEAN extension=18007 site=UNI extgroupunique=965UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18007 ,site="UNI " ,extgroupunique="965UC " where recordno = 169398] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18007 ,site="UNI " ,extgroupunique="965UC " where recordno = 169398" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169398] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169398" nrows=1 ===================================================== aline=[18008 ,UNIVACA ,,VAC ,,UNI ,,18008 ,VACUC,,VAC ,,UNI , ] OldExtn=[18008 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18008 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18008 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18008 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18008 " delete entry for recordno=169435 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 169435" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 169435] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 169435" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 169435" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 169435] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 169435" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 169435" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 169435] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 169435" deleterecordno nrows=1 Counting Dir entry for Oldextn 18008 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18008 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18008 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18009 ,969UNI ,,VRT ,,UNI ,,18009 ,969UC ,,VRT ,,UNI , ] OldExtn=[18009 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18009 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18009 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18009 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18009 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18009 " deleterecordno nrows=No Counting Dir entry for Oldextn 18009 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18009 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18009 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18009 " deleterecordno nrows=No Moving Dir entry for Oldextn 18009 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18009 and fgroup != "V"" handleOld() recordno=42527 surname=CHRISTOPHER firstname=RANEE extension=18009 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18009 ,site="UNI " ,extgroupunique="969UC " where recordno = 42527] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18009 ,site="UNI " ,extgroupunique="969UC " where recordno = 42527" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42527] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42527" nrows=1 ===================================================== aline=[18010 ,UNIVACA ,,VAC ,,UNI ,,18010 ,VACUC,,VAC ,,UNI , ] OldExtn=[18010 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18010 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18010 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18010 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18010 " delete entry for recordno=42530 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42530" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42530] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42530" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42530" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42530] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42530" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42530" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42530] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42530" deleterecordno nrows=1 Counting Dir entry for Oldextn 18010 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18010 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18010 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18011 ,665UNI ,,VRT ,,UNI ,,18011 ,665UC ,,VRT ,,UNI , ] OldExtn=[18011 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18011 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18011 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18011 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18011 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18011 " deleterecordno nrows=No Counting Dir entry for Oldextn 18011 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18011 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18011 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18011 " deleterecordno nrows=No Moving Dir entry for Oldextn 18011 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18011 and fgroup != "V"" handleOld() recordno=42532 surname=NAVAS firstname=ROLANDO extension=18011 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18011 ,site="UNI " ,extgroupunique="665UC " where recordno = 42532] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18011 ,site="UNI " ,extgroupunique="665UC " where recordno = 42532" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42532] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42532" nrows=1 ===================================================== aline=[18012 ,970UNI ,,VRT ,,UNI ,,18012 ,970UC ,,VRT ,,UNI , ] OldExtn=[18012 ] OldExtnGroup=[970UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18012 ] NewExtnGroup=[970UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18012 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18012 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18012 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18012 " deleterecordno nrows=No Counting Dir entry for Oldextn 18012 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "970UNI " AND extension = 18012 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18012 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18012 " deleterecordno nrows=No Moving Dir entry for Oldextn 18012 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18012 and fgroup != "V"" handleOld() recordno=42533 surname=NEEDHAM firstname=BEN extension=18012 site=UNI extgroupunique=970UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18012 ,site="UNI " ,extgroupunique="970UC " where recordno = 42533] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18012 ,site="UNI " ,extgroupunique="970UC " where recordno = 42533" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42533] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42533" nrows=1 ===================================================== aline=[18013 ,UNIVACA ,,VAC ,,UNI ,,18013 ,VACUC,,VAC ,,UNI , ] OldExtn=[18013 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18013 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18013 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18013 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18013 " delete entry for recordno=42534 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42534" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42534] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42534" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42534" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42534] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42534" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42534" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42534] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42534" deleterecordno nrows=1 Counting Dir entry for Oldextn 18013 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18013 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18013 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18014 ,UNIVACA ,,VAC ,,UNI ,,18014 ,VACUC,,VAC ,,UNI , ] OldExtn=[18014 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18014 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18014 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18014 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18014 " delete entry for recordno=42535 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42535" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42535] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42535" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42535" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42535] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42535" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42535" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42535] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42535" deleterecordno nrows=1 Counting Dir entry for Oldextn 18014 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18014 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18014 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18015 ,407UNI ,,VRT ,,UNI ,,18015 ,407UC ,,VRT ,,UNI , ] OldExtn=[18015 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18015 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18015 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18015 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18015 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18015 " deleterecordno nrows=No Counting Dir entry for Oldextn 18015 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18015 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18015 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18015 " deleterecordno nrows=No Moving Dir entry for Oldextn 18015 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18015 and fgroup != "V"" handleOld() recordno=42538 surname=MANNIX firstname=BRYAN extension=18015 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18015 ,site="UNI " ,extgroupunique="407UC " where recordno = 42538] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18015 ,site="UNI " ,extgroupunique="407UC " where recordno = 42538" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42538] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42538" nrows=1 ===================================================== aline=[18016 ,775UNI ,,VRT ,,UNI ,,18016 ,775UC ,,VRT ,,UNI , ] OldExtn=[18016 ] OldExtnGroup=[775UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18016 ] NewExtnGroup=[775UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18016 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18016 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18016 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18016 " deleterecordno nrows=No Counting Dir entry for Oldextn 18016 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "775UNI " AND extension = 18016 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "775UNI " AND extension = 18016 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18016 " deleterecordno nrows=No Moving Dir entry for Oldextn 18016 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "775UNI " AND extension = 18016 and fgroup != "V"" handleOld() recordno=42540 surname=ALLEN firstname=ROBERT extension=18016 site=UNI extgroupunique=775UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18016 ,site="UNI " ,extgroupunique="775UC " where recordno = 42540] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18016 ,site="UNI " ,extgroupunique="775UC " where recordno = 42540" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42540] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42540" nrows=1 ===================================================== aline=[18017 ,449UNI ,,VRT ,,UNI ,,18017 ,449UC ,,VRT ,,UNI , ] OldExtn=[18017 ] OldExtnGroup=[449UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18017 ] NewExtnGroup=[449UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18017 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18017 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18017 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18017 " deleterecordno nrows=No Counting Dir entry for Oldextn 18017 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "449UNI " AND extension = 18017 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "449UNI " AND extension = 18017 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18017 " deleterecordno nrows=No Moving Dir entry for Oldextn 18017 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "449UNI " AND extension = 18017 and fgroup != "V"" handleOld() recordno=169651 surname=LOWE firstname=ALAN extension=18017 site=UNI extgroupunique=449UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18017 ,site="UNI " ,extgroupunique="449UC " where recordno = 169651] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18017 ,site="UNI " ,extgroupunique="449UC " where recordno = 169651" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169651] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169651" nrows=1 ===================================================== aline=[18018 ,411UNI ,,VRT ,,UNI ,,18018 ,411UC ,,VRT ,,UNI , ] OldExtn=[18018 ] OldExtnGroup=[411UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18018 ] NewExtnGroup=[411UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18018 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18018 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18018 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18018 " deleterecordno nrows=No Counting Dir entry for Oldextn 18018 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "411UNI " AND extension = 18018 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18018 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18018 " deleterecordno nrows=No Moving Dir entry for Oldextn 18018 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18018 and fgroup != "V"" handleOld() recordno=42542 surname=POULOS firstname=ANNA extension=18018 site=UNI extgroupunique=411UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18018 ,site="UNI " ,extgroupunique="411UC " where recordno = 42542] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18018 ,site="UNI " ,extgroupunique="411UC " where recordno = 42542" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42542] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42542" nrows=1 ===================================================== aline=[18019 ,664UNI ,,VRT ,,UNI ,,18019 ,664UC ,,VRT ,,UNI , ] OldExtn=[18019 ] OldExtnGroup=[664UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18019 ] NewExtnGroup=[664UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18019 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18019 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18019 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18019 " deleterecordno nrows=No Counting Dir entry for Oldextn 18019 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "664UNI " AND extension = 18019 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18019 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18019 " deleterecordno nrows=No Moving Dir entry for Oldextn 18019 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18019 and fgroup != "V"" handleOld() recordno=42544 surname=BARRERA firstname=LUIS extension=18019 site=UNI extgroupunique=664UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18019 ,site="UNI " ,extgroupunique="664UC " where recordno = 42544] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18019 ,site="UNI " ,extgroupunique="664UC " where recordno = 42544" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42544] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42544" nrows=1 ===================================================== aline=[18020 ,967UNI ,,VRT ,,UNI ,,18020 ,967UC ,,VRT ,,UNI , ] OldExtn=[18020 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18020 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18020 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18020 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18020 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18020 " deleterecordno nrows=No Counting Dir entry for Oldextn 18020 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18020 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18020 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18020 " deleterecordno nrows=No Moving Dir entry for Oldextn 18020 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18020 and fgroup != "V"" handleOld() recordno=42546 surname=KEALY firstname=AOIFE extension=18020 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18020 ,site="UNI " ,extgroupunique="967UC " where recordno = 42546] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18020 ,site="UNI " ,extgroupunique="967UC " where recordno = 42546" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42546] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42546" nrows=1 ===================================================== aline=[18021 ,611UNI ,,VRT ,,UNI ,,18021 ,611UC ,,VRT ,,UNI , ] OldExtn=[18021 ] OldExtnGroup=[611UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18021 ] NewExtnGroup=[611UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18021 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18021 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18021 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18021 " deleterecordno nrows=No Counting Dir entry for Oldextn 18021 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "611UNI " AND extension = 18021 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18021 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18021 " deleterecordno nrows=No Moving Dir entry for Oldextn 18021 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18021 and fgroup != "V"" handleOld() recordno=42548 surname=.ASSIGNED firstname= extension=18021 site=UNI extgroupunique=611UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18021 ,site="UNI " ,extgroupunique="611UC " where recordno = 42548] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18021 ,site="UNI " ,extgroupunique="611UC " where recordno = 42548" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42548] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42548" nrows=1 ===================================================== aline=[18022 ,967UNI ,,VRT ,,UNI ,,18022 ,967UC ,,VRT ,,UNI , ] OldExtn=[18022 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18022 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18022 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18022 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18022 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18022 " deleterecordno nrows=No Counting Dir entry for Oldextn 18022 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18022 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18022 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18022 " deleterecordno nrows=No Moving Dir entry for Oldextn 18022 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18022 and fgroup != "V"" handleOld() recordno=42550 surname=MARTINO firstname=PAUL extension=18022 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18022 ,site="UNI " ,extgroupunique="967UC " where recordno = 42550] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18022 ,site="UNI " ,extgroupunique="967UC " where recordno = 42550" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42550] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42550" nrows=1 ===================================================== aline=[18023 ,441UNI ,,VRT ,,UNI ,,18023 ,441UC ,,VRT ,,UNI , ] OldExtn=[18023 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18023 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18023 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18023 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18023 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18023 " deleterecordno nrows=No Counting Dir entry for Oldextn 18023 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18023 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18023 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18023 " deleterecordno nrows=No Moving Dir entry for Oldextn 18023 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18023 and fgroup != "V"" handleOld() recordno=42552 surname=UZCATEGUI firstname=MILDRED extension=18023 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18023 ,site="UNI " ,extgroupunique="441UC " where recordno = 42552] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18023 ,site="UNI " ,extgroupunique="441UC " where recordno = 42552" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42552] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42552" nrows=1 ===================================================== aline=[18024 ,578UNI ,,VRT ,,UNI ,,18024 ,578UC ,,VRT ,,UNI , ] OldExtn=[18024 ] OldExtnGroup=[578UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18024 ] NewExtnGroup=[578UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18024 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18024 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18024 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18024 " deleterecordno nrows=No Counting Dir entry for Oldextn 18024 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "578UNI " AND extension = 18024 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18024 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18024 " deleterecordno nrows=No Moving Dir entry for Oldextn 18024 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18024 and fgroup != "V"" handleOld() recordno=42554 surname=MACLEOD firstname=JOHN extension=18024 site=UNI extgroupunique=578UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18024 ,site="UNI " ,extgroupunique="578UC " where recordno = 42554] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18024 ,site="UNI " ,extgroupunique="578UC " where recordno = 42554" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42554] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42554" nrows=1 ===================================================== aline=[18025 ,603UNI ,,VRT ,,UNI ,,18025 ,603UC ,,VRT ,,UNI , ] OldExtn=[18025 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18025 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18025 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18025 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18025 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18025 " deleterecordno nrows=No Counting Dir entry for Oldextn 18025 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18025 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18025 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18025 " deleterecordno nrows=No Moving Dir entry for Oldextn 18025 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18025 and fgroup != "V"" handleOld() recordno=42556 surname=DAVOREN firstname=SIMONE extension=18025 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18025 ,site="UNI " ,extgroupunique="603UC " where recordno = 42556] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18025 ,site="UNI " ,extgroupunique="603UC " where recordno = 42556" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42556] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42556" nrows=1 ===================================================== aline=[18026 ,665UNI ,,VRT ,,UNI ,,18026 ,665UC ,,VRT ,,UNI , ] OldExtn=[18026 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18026 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18026 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18026 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18026 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18026 " deleterecordno nrows=No Counting Dir entry for Oldextn 18026 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18026 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18026 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18026 " deleterecordno nrows=No Moving Dir entry for Oldextn 18026 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18026 and fgroup != "V"" handleOld() recordno=42557 surname=MANOJLOVSKI firstname=ANASTAS extension=18026 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18026 ,site="UNI " ,extgroupunique="665UC " where recordno = 42557] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18026 ,site="UNI " ,extgroupunique="665UC " where recordno = 42557" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42557] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42557" nrows=1 ===================================================== aline=[18027 ,969UNI ,,VRT ,,UNI ,,18027 ,969UC ,,VRT ,,UNI , ] OldExtn=[18027 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18027 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18027 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18027 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18027 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18027 " deleterecordno nrows=No Counting Dir entry for Oldextn 18027 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18027 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18027 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18027 " deleterecordno nrows=No Moving Dir entry for Oldextn 18027 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18027 and fgroup != "V"" handleOld() recordno=42558 surname=DOLLING firstname=DAVID extension=18027 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18027 ,site="UNI " ,extgroupunique="969UC " where recordno = 42558] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18027 ,site="UNI " ,extgroupunique="969UC " where recordno = 42558" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42558] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42558" nrows=1 ===================================================== aline=[18028 ,665UNI ,,VRT ,,UNI ,,18028 ,665UC ,,VRT ,,UNI , ] OldExtn=[18028 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18028 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18028 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18028 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18028 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18028 " deleterecordno nrows=No Counting Dir entry for Oldextn 18028 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18028 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18028 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18028 " deleterecordno nrows=No Moving Dir entry for Oldextn 18028 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18028 and fgroup != "V"" handleOld() recordno=42560 surname=YAZDI firstname=ALI extension=18028 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18028 ,site="UNI " ,extgroupunique="665UC " where recordno = 42560] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18028 ,site="UNI " ,extgroupunique="665UC " where recordno = 42560" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42560] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42560" nrows=1 ===================================================== aline=[18029 ,612UNI ,,VRT ,,UNI ,,18029 ,612UC ,,VRT ,,UNI , ] OldExtn=[18029 ] OldExtnGroup=[612UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18029 ] NewExtnGroup=[612UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18029 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18029 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18029 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18029 " deleterecordno nrows=No Counting Dir entry for Oldextn 18029 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "612UNI " AND extension = 18029 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "612UNI " AND extension = 18029 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18029 " deleterecordno nrows=No Moving Dir entry for Oldextn 18029 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "612UNI " AND extension = 18029 and fgroup != "V"" handleOld() recordno=42562 surname=WAITE firstname=ROD extension=18029 site=UNI extgroupunique=612UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18029 ,site="UNI " ,extgroupunique="612UC " where recordno = 42562] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18029 ,site="UNI " ,extgroupunique="612UC " where recordno = 42562" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42562] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42562" nrows=1 ===================================================== aline=[18030 ,409UNI ,,VRT ,,UNI ,,18030 ,409UC ,,VRT ,,UNI , ] OldExtn=[18030 ] OldExtnGroup=[409UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18030 ] NewExtnGroup=[409UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18030 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18030 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18030 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18030 " deleterecordno nrows=No Counting Dir entry for Oldextn 18030 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "409UNI " AND extension = 18030 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18030 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18030 " deleterecordno nrows=No Moving Dir entry for Oldextn 18030 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18030 and fgroup != "V"" handleOld() recordno=21436 surname=KEYS firstname=ASHLEY extension=18030 site=UNI extgroupunique=409UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18030 ,site="UNI " ,extgroupunique="409UC " where recordno = 21436] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18030 ,site="UNI " ,extgroupunique="409UC " where recordno = 21436" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 21436] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 21436" nrows=1 ===================================================== aline=[18031 ,664UNI ,,VRT ,,UNI ,,18031 ,664UC ,,VRT ,,UNI , ] OldExtn=[18031 ] OldExtnGroup=[664UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18031 ] NewExtnGroup=[664UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18031 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18031 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18031 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18031 " deleterecordno nrows=No Counting Dir entry for Oldextn 18031 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "664UNI " AND extension = 18031 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18031 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18031 " deleterecordno nrows=No Moving Dir entry for Oldextn 18031 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18031 and fgroup != "V"" handleOld() recordno=42566 surname=DAVIES firstname=MICHAEL extension=18031 site=UNI extgroupunique=664UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18031 ,site="UNI " ,extgroupunique="664UC " where recordno = 42566] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18031 ,site="UNI " ,extgroupunique="664UC " where recordno = 42566" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42566] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42566" nrows=1 ===================================================== aline=[18032 ,610UNI ,,VRT ,,UNI ,,18032 ,610UC ,,VRT ,,UNI , ] OldExtn=[18032 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18032 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18032 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18032 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18032 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18032 " deleterecordno nrows=No Counting Dir entry for Oldextn 18032 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18032 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18032 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18032 " deleterecordno nrows=No Moving Dir entry for Oldextn 18032 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18032 and fgroup != "V"" handleOld() recordno=42567 surname=PENNY firstname=GORDON extension=18032 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18032 ,site="UNI " ,extgroupunique="610UC " where recordno = 42567] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18032 ,site="UNI " ,extgroupunique="610UC " where recordno = 42567" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42567] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42567" nrows=1 ===================================================== aline=[18033 ,610UNI ,,VRT ,,UNI ,,18033 ,610UC ,,VRT ,,UNI , ] OldExtn=[18033 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18033 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18033 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18033 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18033 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18033 " deleterecordno nrows=No Counting Dir entry for Oldextn 18033 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18033 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18033 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18033 " deleterecordno nrows=No Moving Dir entry for Oldextn 18033 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18033 and fgroup != "V"" handleOld() recordno=42568 surname=CLARKE firstname=PAUL extension=18033 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18033 ,site="UNI " ,extgroupunique="610UC " where recordno = 42568] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18033 ,site="UNI " ,extgroupunique="610UC " where recordno = 42568" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42568] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42568" nrows=1 ===================================================== aline=[18034 ,665UNI ,,VRT ,,UNI ,,18034 ,665UC ,,VRT ,,UNI , ] OldExtn=[18034 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18034 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18034 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18034 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18034 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18034 " deleterecordno nrows=No Counting Dir entry for Oldextn 18034 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18034 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18034 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18034 " deleterecordno nrows=No Moving Dir entry for Oldextn 18034 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18034 and fgroup != "V"" handleOld() recordno=42569 surname=LOHNING firstname=STEPHEN extension=18034 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18034 ,site="UNI " ,extgroupunique="665UC " where recordno = 42569] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18034 ,site="UNI " ,extgroupunique="665UC " where recordno = 42569" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42569] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42569" nrows=1 ===================================================== aline=[18035 ,967UNI ,,VRT ,,UNI ,,18035 ,967UC ,,VRT ,,UNI , ] OldExtn=[18035 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18035 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18035 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18035 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18035 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18035 " deleterecordno nrows=No Counting Dir entry for Oldextn 18035 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18035 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18035 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18035 " deleterecordno nrows=No Moving Dir entry for Oldextn 18035 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18035 and fgroup != "V"" handleOld() recordno=169630 surname=DOLKAS firstname=JIM extension=18035 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18035 ,site="UNI " ,extgroupunique="967UC " where recordno = 169630] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18035 ,site="UNI " ,extgroupunique="967UC " where recordno = 169630" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169630] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169630" handleOld() recordno=42570 surname=BOURKE firstname=NICK extension=18035 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18035 ,site="UNI " ,extgroupunique="967UC " where recordno = 42570] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18035 ,site="UNI " ,extgroupunique="967UC " where recordno = 42570" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42570] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42570" nrows=2 ===================================================== aline=[18036 ,446UNI ,,VRT ,,UNI ,,18036 ,446UC ,,VRT ,,UNI , ] OldExtn=[18036 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18036 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18036 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18036 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18036 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18036 " deleterecordno nrows=No Counting Dir entry for Oldextn 18036 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18036 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18036 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18036 " deleterecordno nrows=No Moving Dir entry for Oldextn 18036 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18036 and fgroup != "V"" handleOld() recordno=42571 surname=MALIC firstname=BERNARD extension=18036 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18036 ,site="UNI " ,extgroupunique="446UC " where recordno = 42571] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18036 ,site="UNI " ,extgroupunique="446UC " where recordno = 42571" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42571] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42571" nrows=1 ===================================================== aline=[18037 ,UNIVACA ,,VAC ,,UNI ,,18037 ,VACUC,,VAC ,,UNI , ] OldExtn=[18037 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18037 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18037 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18037 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18037 " delete entry for recordno=42572 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42572" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42572] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42572" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42572" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42572] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42572" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42572" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42572] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42572" deleterecordno nrows=1 Counting Dir entry for Oldextn 18037 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18037 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18037 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18038 ,446UNI ,,VRT ,,UNI ,,18038 ,446UC ,,VRT ,,UNI , ] OldExtn=[18038 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18038 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18038 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18038 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18038 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18038 " deleterecordno nrows=No Counting Dir entry for Oldextn 18038 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18038 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18038 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18038 " deleterecordno nrows=No Moving Dir entry for Oldextn 18038 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18038 and fgroup != "V"" handleOld() recordno=42573 surname=MEEHAN firstname=ELENA extension=18038 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18038 ,site="UNI " ,extgroupunique="446UC " where recordno = 42573] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18038 ,site="UNI " ,extgroupunique="446UC " where recordno = 42573" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42573] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42573" nrows=1 ===================================================== aline=[18039 ,UNIVACA ,,VAC ,,UNI ,,18039 ,VACUC,,VAC ,,UNI , ] OldExtn=[18039 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18039 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18039 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18039 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18039 " delete entry for recordno=42574 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42574" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42574] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42574" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42574" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42574] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42574" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42574" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42574] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42574" deleterecordno nrows=1 Counting Dir entry for Oldextn 18039 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18039 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18039 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18040 ,970UNI ,,VRT ,,UNI ,,18040 ,970UC ,,VRT ,,UNI , ] OldExtn=[18040 ] OldExtnGroup=[970UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18040 ] NewExtnGroup=[970UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18040 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18040 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18040 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18040 " deleterecordno nrows=No Counting Dir entry for Oldextn 18040 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "970UNI " AND extension = 18040 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18040 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18040 " deleterecordno nrows=No Moving Dir entry for Oldextn 18040 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18040 and fgroup != "V"" handleOld() recordno=42575 surname=CHISHOLM firstname=CARLEEN extension=18040 site=UNI extgroupunique=970UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18040 ,site="UNI " ,extgroupunique="970UC " where recordno = 42575] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18040 ,site="UNI " ,extgroupunique="970UC " where recordno = 42575" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42575] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42575" nrows=1 ===================================================== aline=[18041 ,UNIVACA ,,VAC ,,UNI ,,18041 ,VACUC,,VAC ,,UNI , ] OldExtn=[18041 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18041 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18041 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18041 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18041 " delete entry for recordno=42576 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42576" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42576] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42576" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42576" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42576] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42576" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42576" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42576] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42576" deleterecordno nrows=1 Counting Dir entry for Oldextn 18041 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18041 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18041 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18042 ,UNIVACA ,,VAC ,,UNI ,,18042 ,VACUC,,VAC ,,UNI , ] OldExtn=[18042 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18042 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18042 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18042 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18042 " delete entry for recordno=42577 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42577" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42577] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42577" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42577" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42577] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42577" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42577" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42577] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42577" deleterecordno nrows=1 Counting Dir entry for Oldextn 18042 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18042 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18042 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18043 ,UNIVACA ,,VAC ,,UNI ,,18043 ,VACUC,,VAC ,,UNI , ] OldExtn=[18043 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18043 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18043 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18043 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18043 " delete entry for recordno=145169 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 145169" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 145169] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 145169" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 145169" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 145169] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 145169" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 145169" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 145169] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 145169" deleterecordno nrows=1 Counting Dir entry for Oldextn 18043 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18043 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18043 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18044 ,UNIVACA ,,VAC ,,UNI ,,18044 ,VACUC,,VAC ,,UNI , ] OldExtn=[18044 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18044 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18044 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18044 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18044 " delete entry for recordno=112778 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 112778" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 112778] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 112778" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 112778" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 112778] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 112778" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 112778" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 112778] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 112778" deleterecordno nrows=1 Counting Dir entry for Oldextn 18044 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18044 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18044 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18045 ,610UNI ,,VRT ,,UNI ,,18045 ,610UC ,,VRT ,,UNI , ] OldExtn=[18045 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18045 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18045 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18045 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18045 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18045 " deleterecordno nrows=No Counting Dir entry for Oldextn 18045 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18045 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18045 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18045 " deleterecordno nrows=No Moving Dir entry for Oldextn 18045 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18045 and fgroup != "V"" handleOld() recordno=42580 surname=SESTOSO firstname=RAUL extension=18045 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18045 ,site="UNI " ,extgroupunique="610UC " where recordno = 42580] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18045 ,site="UNI " ,extgroupunique="610UC " where recordno = 42580" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42580] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42580" nrows=1 ===================================================== aline=[18046 ,446UNI ,,VRT ,,UNI ,,18046 ,446UC ,,VRT ,,UNI , ] OldExtn=[18046 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18046 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18046 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18046 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18046 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18046 " deleterecordno nrows=No Counting Dir entry for Oldextn 18046 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18046 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18046 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18046 " deleterecordno nrows=No Moving Dir entry for Oldextn 18046 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18046 and fgroup != "V"" handleOld() recordno=42581 surname=PAPOTTO firstname=CHARLIE extension=18046 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18046 ,site="UNI " ,extgroupunique="446UC " where recordno = 42581] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18046 ,site="UNI " ,extgroupunique="446UC " where recordno = 42581" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42581] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42581" nrows=1 ===================================================== aline=[18047 ,UNIVACA ,,VAC ,,UNI ,,18047 ,VACUC,,VAC ,,UNI , ] OldExtn=[18047 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18047 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18047 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18047 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18047 " delete entry for recordno=42582 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42582" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42582] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42582" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42582" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42582] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42582" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42582" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42582] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42582" deleterecordno nrows=1 Counting Dir entry for Oldextn 18047 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18047 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18047 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18048 ,UNIVACA ,,VAC ,,UNI ,,18048 ,VACUC,,VAC ,,UNI , ] OldExtn=[18048 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18048 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18048 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18048 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18048 " delete entry for recordno=42583 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42583" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42583] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42583" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42583" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42583] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42583" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42583" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42583] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42583" deleterecordno nrows=1 Counting Dir entry for Oldextn 18048 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18048 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18048 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18049 ,612UNI ,,VRT ,,UNI ,,18049 ,612UC ,,VRT ,,UNI , ] OldExtn=[18049 ] OldExtnGroup=[612UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18049 ] NewExtnGroup=[612UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18049 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18049 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18049 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18049 " deleterecordno nrows=No Counting Dir entry for Oldextn 18049 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "612UNI " AND extension = 18049 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "612UNI " AND extension = 18049 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18049 " deleterecordno nrows=No Moving Dir entry for Oldextn 18049 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "612UNI " AND extension = 18049 and fgroup != "V"" handleOld() recordno=42584 surname=PARKER firstname=TANA extension=18049 site=UNI extgroupunique=612UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18049 ,site="UNI " ,extgroupunique="612UC " where recordno = 42584] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18049 ,site="UNI " ,extgroupunique="612UC " where recordno = 42584" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42584] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42584" nrows=1 ===================================================== aline=[18050 ,483UNI ,,VRT ,,UNI ,,18050 ,483UC ,,VRT ,,UNI , ] OldExtn=[18050 ] OldExtnGroup=[483UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18050 ] NewExtnGroup=[483UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18050 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18050 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18050 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18050 " deleterecordno nrows=No Counting Dir entry for Oldextn 18050 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "483UNI " AND extension = 18050 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "483UNI " AND extension = 18050 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18050 " deleterecordno nrows=No Moving Dir entry for Oldextn 18050 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "483UNI " AND extension = 18050 and fgroup != "V"" handleOld() recordno=42585 surname=ELLIOT firstname=TRACEY extension=18050 site=UNI extgroupunique=483UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18050 ,site="UNI " ,extgroupunique="483UC " where recordno = 42585] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18050 ,site="UNI " ,extgroupunique="483UC " where recordno = 42585" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42585] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42585" nrows=1 ===================================================== aline=[18051 ,578UNI ,,VRT ,,UNI ,,18051 ,578UC ,,VRT ,,UNI , ] OldExtn=[18051 ] OldExtnGroup=[578UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18051 ] NewExtnGroup=[578UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18051 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18051 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18051 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18051 " deleterecordno nrows=No Counting Dir entry for Oldextn 18051 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "578UNI " AND extension = 18051 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18051 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18051 " deleterecordno nrows=No Moving Dir entry for Oldextn 18051 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18051 and fgroup != "V"" handleOld() recordno=42586 surname=HUMPHRY firstname=ANDREW extension=18051 site=UNI extgroupunique=578UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18051 ,site="UNI " ,extgroupunique="578UC " where recordno = 42586] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18051 ,site="UNI " ,extgroupunique="578UC " where recordno = 42586" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42586] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42586" nrows=1 ===================================================== aline=[18052 ,446UNI ,,VRT ,,UNI ,,18052 ,446UC ,,VRT ,,UNI , ] OldExtn=[18052 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18052 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18052 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18052 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18052 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18052 " deleterecordno nrows=No Counting Dir entry for Oldextn 18052 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18052 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18052 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18052 " deleterecordno nrows=No Moving Dir entry for Oldextn 18052 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18052 and fgroup != "V"" handleOld() recordno=42587 surname=GOMMERS firstname=RICHARD extension=18052 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18052 ,site="UNI " ,extgroupunique="446UC " where recordno = 42587] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18052 ,site="UNI " ,extgroupunique="446UC " where recordno = 42587" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42587] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42587" nrows=1 ===================================================== aline=[18053 ,610UNI ,,VRT ,,UNI ,,18053 ,610UC ,,VRT ,,UNI , ] OldExtn=[18053 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18053 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18053 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18053 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18053 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18053 " deleterecordno nrows=No Counting Dir entry for Oldextn 18053 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18053 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18053 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18053 " deleterecordno nrows=No Moving Dir entry for Oldextn 18053 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18053 and fgroup != "V"" handleOld() recordno=42588 surname=WONG firstname=BENSON extension=18053 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18053 ,site="UNI " ,extgroupunique="610UC " where recordno = 42588] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18053 ,site="UNI " ,extgroupunique="610UC " where recordno = 42588" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42588] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42588" nrows=1 ===================================================== aline=[18054 ,438UNI ,,VRT ,,UNI ,,18054 ,438UC ,,VRT ,,UNI , ] OldExtn=[18054 ] OldExtnGroup=[438UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18054 ] NewExtnGroup=[438UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18054 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18054 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18054 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18054 " deleterecordno nrows=No Counting Dir entry for Oldextn 18054 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "438UNI " AND extension = 18054 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18054 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18054 " deleterecordno nrows=No Moving Dir entry for Oldextn 18054 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18054 and fgroup != "V"" handleOld() recordno=42589 surname=TRETHEWEY firstname=DI extension=18054 site=UNI extgroupunique=438UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18054 ,site="UNI " ,extgroupunique="438UC " where recordno = 42589] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18054 ,site="UNI " ,extgroupunique="438UC " where recordno = 42589" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42589] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42589" nrows=1 ===================================================== aline=[18055 ,UNIVACA ,,VAC ,,UNI ,,18055 ,VACUC,,VAC ,,UNI , ] OldExtn=[18055 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18055 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18055 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18055 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18055 " delete entry for recordno=42590 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42590" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42590] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42590" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42590" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42590] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42590" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42590" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42590] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42590" deleterecordno nrows=1 Counting Dir entry for Oldextn 18055 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18055 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18055 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18056 ,603UNI ,,VRT ,,UNI ,,18056 ,603UC ,,VRT ,,UNI , ] OldExtn=[18056 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18056 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18056 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18056 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18056 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18056 " deleterecordno nrows=No Counting Dir entry for Oldextn 18056 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18056 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18056 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18056 " deleterecordno nrows=No Moving Dir entry for Oldextn 18056 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18056 and fgroup != "V"" handleOld() recordno=42591 surname=REDZEPOSKI firstname=MICHAEL extension=18056 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18056 ,site="UNI " ,extgroupunique="603UC " where recordno = 42591] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18056 ,site="UNI " ,extgroupunique="603UC " where recordno = 42591" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42591] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42591" nrows=1 ===================================================== aline=[18057 ,960UNI ,,VRT ,,UNI ,,18057 ,960UC ,,VRT ,,UNI , ] OldExtn=[18057 ] OldExtnGroup=[960UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18057 ] NewExtnGroup=[960UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18057 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18057 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18057 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18057 " deleterecordno nrows=No Counting Dir entry for Oldextn 18057 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "960UNI " AND extension = 18057 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18057 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18057 " deleterecordno nrows=No Moving Dir entry for Oldextn 18057 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18057 and fgroup != "V"" handleOld() recordno=169656 surname=JAYAKODY firstname=RANDULA extension=18057 site=UNI extgroupunique=960UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18057 ,site="UNI " ,extgroupunique="960UC " where recordno = 169656] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18057 ,site="UNI " ,extgroupunique="960UC " where recordno = 169656" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169656] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169656" handleOld() recordno=42592 surname=WIGHT firstname=MELODIE extension=18057 site=UNI extgroupunique=960UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18057 ,site="UNI " ,extgroupunique="960UC " where recordno = 42592] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18057 ,site="UNI " ,extgroupunique="960UC " where recordno = 42592" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42592] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42592" nrows=2 ===================================================== aline=[18058 ,582UNI ,,VRT ,,UNI ,,18058 ,582UC ,,VRT ,,UNI , ] OldExtn=[18058 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18058 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18058 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18058 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18058 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18058 " deleterecordno nrows=No Counting Dir entry for Oldextn 18058 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18058 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18058 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18058 " deleterecordno nrows=No Moving Dir entry for Oldextn 18058 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18058 and fgroup != "V"" handleOld() recordno=135248 surname=.ASSIGNED firstname= extension=18058 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18058 ,site="UNI " ,extgroupunique="582UC " where recordno = 135248] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18058 ,site="UNI " ,extgroupunique="582UC " where recordno = 135248" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135248] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135248" nrows=1 ===================================================== aline=[18059 ,UNIVACA ,,VAC ,,UNI ,,18059 ,VACUC,,VAC ,,UNI , ] OldExtn=[18059 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18059 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18059 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18059 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18059 " delete entry for recordno=42594 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42594" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42594] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42594" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42594" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42594] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42594" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42594" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42594] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42594" deleterecordno nrows=1 Counting Dir entry for Oldextn 18059 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18059 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18059 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18060 ,582UNI ,,VRT ,,UNI ,,18060 ,582UC ,,VRT ,,UNI , ] OldExtn=[18060 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18060 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18060 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18060 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18060 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18060 " deleterecordno nrows=No Counting Dir entry for Oldextn 18060 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18060 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18060 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18060 " deleterecordno nrows=No Moving Dir entry for Oldextn 18060 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18060 and fgroup != "V"" handleOld() recordno=42595 surname=MCGEE firstname=BRENDAN extension=18060 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18060 ,site="UNI " ,extgroupunique="582UC " where recordno = 42595] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18060 ,site="UNI " ,extgroupunique="582UC " where recordno = 42595" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42595] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42595" nrows=1 ===================================================== aline=[18061 ,611UNI ,,VRT ,,UNI ,,18061 ,611UC ,,VRT ,,UNI , ] OldExtn=[18061 ] OldExtnGroup=[611UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18061 ] NewExtnGroup=[611UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18061 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18061 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18061 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18061 " deleterecordno nrows=No Counting Dir entry for Oldextn 18061 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "611UNI " AND extension = 18061 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18061 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18061 " deleterecordno nrows=No Moving Dir entry for Oldextn 18061 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18061 and fgroup != "V"" handleOld() recordno=158562 surname=DANN firstname=CHRIS extension=18061 site=UNI extgroupunique=611UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18061 ,site="UNI " ,extgroupunique="611UC " where recordno = 158562] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18061 ,site="UNI " ,extgroupunique="611UC " where recordno = 158562" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 158562] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 158562" nrows=1 ===================================================== aline=[18062 ,967UNI ,,VRT ,,UNI ,,18062 ,967UC ,,VRT ,,UNI , ] OldExtn=[18062 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18062 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18062 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18062 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18062 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18062 " deleterecordno nrows=No Counting Dir entry for Oldextn 18062 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18062 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18062 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18062 " deleterecordno nrows=No Moving Dir entry for Oldextn 18062 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18062 and fgroup != "V"" handleOld() recordno=42597 surname=STASIUK firstname=MIKE extension=18062 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18062 ,site="UNI " ,extgroupunique="967UC " where recordno = 42597] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18062 ,site="UNI " ,extgroupunique="967UC " where recordno = 42597" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42597] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42597" nrows=1 ===================================================== aline=[18063 ,UNIVACA ,,VAC ,,UNI ,,18063 ,VACUC,,VAC ,,UNI , ] OldExtn=[18063 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18063 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18063 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18063 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18063 " delete entry for recordno=42598 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42598" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42598] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42598" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42598" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42598] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42598" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42598" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42598] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42598" deleterecordno nrows=1 Counting Dir entry for Oldextn 18063 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18063 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18063 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18064 ,407UNI ,,VRT ,,UNI ,,18064 ,407UC ,,VRT ,,UNI , ] OldExtn=[18064 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18064 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18064 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18064 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18064 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18064 " deleterecordno nrows=No Counting Dir entry for Oldextn 18064 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18064 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18064 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18064 " deleterecordno nrows=No Moving Dir entry for Oldextn 18064 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18064 and fgroup != "V"" handleOld() recordno=42599 surname=PRATT firstname=PHILL extension=18064 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18064 ,site="UNI " ,extgroupunique="407UC " where recordno = 42599] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18064 ,site="UNI " ,extgroupunique="407UC " where recordno = 42599" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42599] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42599" nrows=1 ===================================================== aline=[18065 ,607UNI ,,VRT ,,UNI ,,18065 ,607UC ,,VRT ,,UNI , ] OldExtn=[18065 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18065 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18065 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18065 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18065 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18065 " deleterecordno nrows=No Counting Dir entry for Oldextn 18065 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18065 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18065 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18065 " deleterecordno nrows=No Moving Dir entry for Oldextn 18065 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18065 and fgroup != "V"" handleOld() recordno=42600 surname=MATARAZZO firstname=PAUL extension=18065 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18065 ,site="UNI " ,extgroupunique="607UC " where recordno = 42600] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18065 ,site="UNI " ,extgroupunique="607UC " where recordno = 42600" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42600] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42600" nrows=1 ===================================================== aline=[18066 ,607UNI ,,VRT ,,UNI ,,18066 ,607UC ,,VRT ,,UNI , ] OldExtn=[18066 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18066 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18066 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18066 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18066 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18066 " deleterecordno nrows=No Counting Dir entry for Oldextn 18066 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18066 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18066 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18066 " deleterecordno nrows=No Moving Dir entry for Oldextn 18066 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18066 and fgroup != "V"" handleOld() recordno=42601 surname=GODDARD firstname=DALE extension=18066 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18066 ,site="UNI " ,extgroupunique="607UC " where recordno = 42601] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18066 ,site="UNI " ,extgroupunique="607UC " where recordno = 42601" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42601] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42601" nrows=1 ===================================================== aline=[18067 ,446UNI ,,VRT ,,UNI ,,18067 ,446UC ,,VRT ,,UNI , ] OldExtn=[18067 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18067 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18067 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18067 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18067 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18067 " deleterecordno nrows=No Counting Dir entry for Oldextn 18067 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18067 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18067 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18067 " deleterecordno nrows=No Moving Dir entry for Oldextn 18067 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18067 and fgroup != "V"" handleOld() recordno=42602 surname=WELLS firstname=DAVID extension=18067 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18067 ,site="UNI " ,extgroupunique="446UC " where recordno = 42602] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18067 ,site="UNI " ,extgroupunique="446UC " where recordno = 42602" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42602] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42602" nrows=1 ===================================================== aline=[18068 ,660UNI ,,VRT ,,UNI ,,18068 ,660UC ,,VRT ,,UNI , ] OldExtn=[18068 ] OldExtnGroup=[660UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18068 ] NewExtnGroup=[660UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18068 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18068 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18068 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18068 " deleterecordno nrows=No Counting Dir entry for Oldextn 18068 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "660UNI " AND extension = 18068 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18068 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18068 " deleterecordno nrows=No Moving Dir entry for Oldextn 18068 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18068 and fgroup != "V"" handleOld() recordno=164079 surname=DE LUCA firstname=JOSEPH extension=18068 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18068 ,site="UNI " ,extgroupunique="660UC " where recordno = 164079] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18068 ,site="UNI " ,extgroupunique="660UC " where recordno = 164079" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164079] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164079" nrows=1 ===================================================== aline=[18069 ,607UNI ,,VRT ,,UNI ,,18069 ,607UC ,,VRT ,,UNI , ] OldExtn=[18069 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18069 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18069 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18069 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18069 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18069 " deleterecordno nrows=No Counting Dir entry for Oldextn 18069 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18069 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18069 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18069 " deleterecordno nrows=No Moving Dir entry for Oldextn 18069 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18069 and fgroup != "V"" handleOld() recordno=42604 surname=JOHNSTON firstname=ROSS extension=18069 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18069 ,site="UNI " ,extgroupunique="607UC " where recordno = 42604] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18069 ,site="UNI " ,extgroupunique="607UC " where recordno = 42604" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42604] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42604" nrows=1 ===================================================== aline=[18070 ,UNIVACA ,,VAC ,,UNI ,,18070 ,VACUC,,VAC ,,UNI , ] OldExtn=[18070 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18070 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18070 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18070 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18070 " deleterecordno nrows=No Counting Dir entry for Oldextn 18070 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18070 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18070 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18070 " delete entry for recordno=42605 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42605" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42605] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42605" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42605" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42605] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42605" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42605" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42605] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42605" deleterecordno nrows=1 Moving Dir entry for Oldextn 18070 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18070 and fgroup != "V"" handleOld() recordno=42605 surname=.UNPROGRAMMED firstname= extension=18070 site=UNI extgroupunique=UNIVACA handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18070 ,site="UNI " ,extgroupunique="VACUC" where recordno = 42605] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18070 ,site="UNI " ,extgroupunique="VACUC" where recordno = 42605" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VAC " ,location=" " where recordno = 42605] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VAC " ,location=" " where recordno = 42605" nrows=1 ===================================================== aline=[18071 ,446UNI ,,VRT ,,UNI ,,18071 ,446UC ,,VRT ,,UNI , ] OldExtn=[18071 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18071 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18071 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18071 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18071 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18071 " deleterecordno nrows=No Counting Dir entry for Oldextn 18071 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18071 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18071 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18071 " deleterecordno nrows=No Moving Dir entry for Oldextn 18071 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18071 and fgroup != "V"" handleOld() recordno=42606 surname=ARNOLD firstname=KARL extension=18071 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18071 ,site="UNI " ,extgroupunique="446UC " where recordno = 42606] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18071 ,site="UNI " ,extgroupunique="446UC " where recordno = 42606" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42606] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42606" nrows=1 ===================================================== aline=[18072 ,UNIVACA ,,VAC ,,UNI ,,18072 ,VACUC,,VAC ,,UNI , ] OldExtn=[18072 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18072 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18072 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18072 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18072 " delete entry for recordno=42607 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42607" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42607] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42607" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42607" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42607] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42607" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42607" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42607] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42607" deleterecordno nrows=1 Counting Dir entry for Oldextn 18072 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18072 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18072 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18073 ,446UNI ,,VRT ,,UNI ,,18073 ,446UC ,,VRT ,,UNI , ] OldExtn=[18073 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18073 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18073 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18073 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18073 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18073 " deleterecordno nrows=No Counting Dir entry for Oldextn 18073 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18073 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18073 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18073 " deleterecordno nrows=No Moving Dir entry for Oldextn 18073 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18073 and fgroup != "V"" handleOld() recordno=42608 surname=HUGHES firstname=JO extension=18073 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18073 ,site="UNI " ,extgroupunique="446UC " where recordno = 42608] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18073 ,site="UNI " ,extgroupunique="446UC " where recordno = 42608" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42608] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42608" nrows=1 ===================================================== aline=[18074 ,UNIVACA ,,VAC ,,UNI ,,18074 ,VACUC,,VAC ,,UNI , ] OldExtn=[18074 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18074 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18074 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18074 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18074 " delete entry for recordno=42609 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42609" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42609] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42609" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42609" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42609] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42609" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42609" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42609] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42609" deleterecordno nrows=1 Counting Dir entry for Oldextn 18074 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18074 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18074 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18075 ,UNIVACA ,,VAC ,,UNI ,,18075 ,VACUC,,VAC ,,UNI , ] OldExtn=[18075 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18075 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18075 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18075 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18075 " delete entry for recordno=1570 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 1570" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 1570] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 1570" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 1570" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 1570] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 1570" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 1570" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 1570] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 1570" deleterecordno nrows=1 Counting Dir entry for Oldextn 18075 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18075 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18075 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18076 ,607UNI ,,VRT ,,UNI ,,18076 ,607UC ,,VRT ,,UNI , ] OldExtn=[18076 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18076 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18076 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18076 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18076 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18076 " deleterecordno nrows=No Counting Dir entry for Oldextn 18076 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18076 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18076 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18076 " deleterecordno nrows=No Moving Dir entry for Oldextn 18076 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18076 and fgroup != "V"" handleOld() recordno=169196 surname=HARDISTRY firstname=CHOY extension=18076 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18076 ,site="UNI " ,extgroupunique="607UC " where recordno = 169196] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18076 ,site="UNI " ,extgroupunique="607UC " where recordno = 169196" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169196] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169196" nrows=1 ===================================================== aline=[18077 ,607UNI ,,VRT ,,UNI ,,18077 ,607UC ,,VRT ,,UNI , ] OldExtn=[18077 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18077 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18077 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18077 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18077 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18077 " deleterecordno nrows=No Counting Dir entry for Oldextn 18077 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18077 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18077 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18077 " deleterecordno nrows=No Moving Dir entry for Oldextn 18077 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18077 and fgroup != "V"" handleOld() recordno=168974 surname=JONES firstname=IAN extension=18077 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18077 ,site="UNI " ,extgroupunique="607UC " where recordno = 168974] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18077 ,site="UNI " ,extgroupunique="607UC " where recordno = 168974" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168974] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168974" nrows=1 ===================================================== aline=[18078 ,660UNI ,,VRT ,,UNI ,,18078 ,660UC ,,VRT ,,UNI , ] OldExtn=[18078 ] OldExtnGroup=[660UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18078 ] NewExtnGroup=[660UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18078 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18078 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18078 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18078 " deleterecordno nrows=No Counting Dir entry for Oldextn 18078 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "660UNI " AND extension = 18078 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18078 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18078 " deleterecordno nrows=No Moving Dir entry for Oldextn 18078 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18078 and fgroup != "V"" handleOld() recordno=42610 surname=WERNER firstname=MATTHEW extension=18078 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18078 ,site="UNI " ,extgroupunique="660UC " where recordno = 42610] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18078 ,site="UNI " ,extgroupunique="660UC " where recordno = 42610" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42610] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42610" nrows=1 ===================================================== aline=[18079 ,UNIVACA ,,VAC ,,UNI ,,18079 ,VACUC,,VAC ,,UNI , ] OldExtn=[18079 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18079 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18079 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18079 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18079 " delete entry for recordno=169175 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 169175" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 169175] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 169175" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 169175" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 169175] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 169175" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 169175" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 169175] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 169175" deleterecordno nrows=1 Counting Dir entry for Oldextn 18079 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18079 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18079 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18080 ,UNIVACA ,,VAC ,,UNI ,,18080 ,VACUC,,VAC ,,UNI , ] OldExtn=[18080 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18080 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18080 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18080 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18080 " delete entry for recordno=100753 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 100753" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 100753] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 100753" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 100753" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 100753] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 100753" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 100753" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 100753] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 100753" deleterecordno nrows=1 Counting Dir entry for Oldextn 18080 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18080 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18080 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18081 ,663UNI ,,VRT ,,UNI ,,18081 ,663UC ,,VRT ,,UNI , ] OldExtn=[18081 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18081 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18081 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18081 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18081 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18081 " deleterecordno nrows=No Counting Dir entry for Oldextn 18081 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18081 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18081 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18081 " deleterecordno nrows=No Moving Dir entry for Oldextn 18081 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18081 and fgroup != "V"" handleOld() recordno=42612 surname=ZAPRIANOS firstname=GEORGE extension=18081 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18081 ,site="UNI " ,extgroupunique="663UC " where recordno = 42612] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18081 ,site="UNI " ,extgroupunique="663UC " where recordno = 42612" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42612] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42612" nrows=1 ===================================================== aline=[18082 ,UNIVACA ,,VAC ,,UNI ,,18082 ,VACUC,,VAC ,,UNI , ] OldExtn=[18082 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18082 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18082 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18082 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18082 " delete entry for recordno=42613 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42613" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42613] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42613" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42613" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42613] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42613" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42613" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42613] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42613" deleterecordno nrows=1 Counting Dir entry for Oldextn 18082 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18082 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18082 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18083 ,775UNI ,,VRT ,,UNI ,,18083 ,775UC ,,VRT ,,UNI , ] OldExtn=[18083 ] OldExtnGroup=[775UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18083 ] NewExtnGroup=[775UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18083 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18083 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18083 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18083 " deleterecordno nrows=No Counting Dir entry for Oldextn 18083 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "775UNI " AND extension = 18083 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "775UNI " AND extension = 18083 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18083 " deleterecordno nrows=No Moving Dir entry for Oldextn 18083 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "775UNI " AND extension = 18083 and fgroup != "V"" handleOld() recordno=42614 surname=ALLEN firstname=TROY extension=18083 site=UNI extgroupunique=775UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18083 ,site="UNI " ,extgroupunique="775UC " where recordno = 42614] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18083 ,site="UNI " ,extgroupunique="775UC " where recordno = 42614" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42614] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42614" nrows=1 ===================================================== aline=[18084 ,UNIVACA ,,VAC ,,UNI ,,18084 ,VACUC,,VAC ,,UNI , ] OldExtn=[18084 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18084 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18084 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18084 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18084 " delete entry for recordno=42615 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42615" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42615] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42615" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42615" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42615] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42615" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42615" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42615] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42615" deleterecordno nrows=1 Counting Dir entry for Oldextn 18084 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18084 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18084 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18085 ,UNIVACA ,,VAC ,,UNI ,,18085 ,VACUC,,VAC ,,UNI , ] OldExtn=[18085 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18085 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18085 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18085 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18085 " delete entry for recordno=42616 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 42616" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 42616] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 42616" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 42616" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 42616] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 42616" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 42616" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 42616] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 42616" deleterecordno nrows=1 Counting Dir entry for Oldextn 18085 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18085 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18085 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18086 ,963UNI ,,VRT ,,UNI ,,18086 ,963UC ,,VRT ,,UNI , ] OldExtn=[18086 ] OldExtnGroup=[963UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18086 ] NewExtnGroup=[963UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18086 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18086 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18086 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18086 " deleterecordno nrows=No Counting Dir entry for Oldextn 18086 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "963UNI " AND extension = 18086 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "963UNI " AND extension = 18086 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18086 " deleterecordno nrows=No Moving Dir entry for Oldextn 18086 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "963UNI " AND extension = 18086 and fgroup != "V"" handleOld() recordno=42617 surname=MOLETA firstname=GUISEPPE extension=18086 site=UNI extgroupunique=963UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18086 ,site="UNI " ,extgroupunique="963UC " where recordno = 42617] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18086 ,site="UNI " ,extgroupunique="963UC " where recordno = 42617" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42617] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42617" nrows=1 ===================================================== aline=[18087 ,482UNI ,,VRT ,,UNI ,,18087 ,482UC ,,VRT ,,UNI , ] OldExtn=[18087 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18087 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18087 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18087 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18087 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18087 " deleterecordno nrows=No Counting Dir entry for Oldextn 18087 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18087 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18087 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18087 " deleterecordno nrows=No Moving Dir entry for Oldextn 18087 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18087 and fgroup != "V"" handleOld() recordno=42618 surname=DASIC firstname=DRAGAN extension=18087 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18087 ,site="UNI " ,extgroupunique="482UC " where recordno = 42618] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18087 ,site="UNI " ,extgroupunique="482UC " where recordno = 42618" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42618] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42618" nrows=1 ===================================================== aline=[18088 ,582UNI ,,VRT ,,UNI ,,18088 ,582UC ,,VRT ,,UNI , ] OldExtn=[18088 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18088 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18088 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18088 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18088 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18088 " deleterecordno nrows=No Counting Dir entry for Oldextn 18088 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18088 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18088 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18088 " deleterecordno nrows=No Moving Dir entry for Oldextn 18088 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18088 and fgroup != "V"" handleOld() recordno=166663 surname=.ASSIGNED firstname= extension=18088 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18088 ,site="UNI " ,extgroupunique="582UC " where recordno = 166663] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18088 ,site="UNI " ,extgroupunique="582UC " where recordno = 166663" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166663] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166663" nrows=1 ===================================================== aline=[18089 ,UNIVACA ,,VAC ,,UNI ,,18089 ,VACUC,,VAC ,,UNI , ] OldExtn=[18089 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18089 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18089 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18089 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18089 " delete entry for recordno=169171 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 169171" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 169171] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 169171" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 169171" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 169171] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 169171" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 169171" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 169171] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 169171" deleterecordno nrows=1 Counting Dir entry for Oldextn 18089 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18089 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18089 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18090 ,482UNI ,,VRT ,,UNI ,,18090 ,482UC ,,VRT ,,UNI , ] OldExtn=[18090 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18090 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18090 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18090 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18090 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18090 " deleterecordno nrows=No Counting Dir entry for Oldextn 18090 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18090 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18090 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18090 " deleterecordno nrows=No Moving Dir entry for Oldextn 18090 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18090 and fgroup != "V"" handleOld() recordno=169189 surname=BURTON firstname=BILL extension=18090 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18090 ,site="UNI " ,extgroupunique="482UC " where recordno = 169189] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18090 ,site="UNI " ,extgroupunique="482UC " where recordno = 169189" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169189] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169189" nrows=1 ===================================================== aline=[18091 ,430UNI ,,VRT ,,UNI ,,18091 ,430UC ,,VRT ,,UNI , ] OldExtn=[18091 ] OldExtnGroup=[430UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18091 ] NewExtnGroup=[430UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18091 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18091 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18091 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18091 " deleterecordno nrows=No Counting Dir entry for Oldextn 18091 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "430UNI " AND extension = 18091 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "430UNI " AND extension = 18091 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18091 " deleterecordno nrows=No Moving Dir entry for Oldextn 18091 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "430UNI " AND extension = 18091 and fgroup != "V"" handleOld() recordno=42619 surname=PITCHER firstname=CRAIG extension=18091 site=UNI extgroupunique=430UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18091 ,site="UNI " ,extgroupunique="430UC " where recordno = 42619] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18091 ,site="UNI " ,extgroupunique="430UC " where recordno = 42619" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42619] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42619" nrows=1 ===================================================== aline=[18092 ,446UNI ,,VRT ,,UNI ,,18092 ,446UC ,,VRT ,,UNI , ] OldExtn=[18092 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18092 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18092 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18092 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18092 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18092 " deleterecordno nrows=No Counting Dir entry for Oldextn 18092 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18092 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18092 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18092 " deleterecordno nrows=No Moving Dir entry for Oldextn 18092 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18092 and fgroup != "V"" handleOld() recordno=42620 surname=SCICLUNA firstname=CHRIS extension=18092 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18092 ,site="UNI " ,extgroupunique="446UC " where recordno = 42620] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18092 ,site="UNI " ,extgroupunique="446UC " where recordno = 42620" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42620] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42620" nrows=1 ===================================================== aline=[18093 ,446UNI ,,VRT ,,UNI ,,18093 ,446UC ,,VRT ,,UNI , ] OldExtn=[18093 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18093 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18093 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18093 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18093 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18093 " deleterecordno nrows=No Counting Dir entry for Oldextn 18093 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18093 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18093 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18093 " deleterecordno nrows=No Moving Dir entry for Oldextn 18093 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18093 and fgroup != "V"" handleOld() recordno=21431 surname=.ASSIGNED firstname= extension=18093 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18093 ,site="UNI " ,extgroupunique="446UC " where recordno = 21431] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18093 ,site="UNI " ,extgroupunique="446UC " where recordno = 21431" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 21431] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 21431" nrows=1 ===================================================== aline=[18094 ,607UNI ,,VRT ,,UNI ,,18094 ,607UC ,,VRT ,,UNI , ] OldExtn=[18094 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18094 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18094 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18094 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18094 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18094 " deleterecordno nrows=No Counting Dir entry for Oldextn 18094 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18094 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18094 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18094 " deleterecordno nrows=No Moving Dir entry for Oldextn 18094 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18094 and fgroup != "V"" handleOld() recordno=169372 surname=CLARK firstname=ANDREW P extension=18094 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18094 ,site="UNI " ,extgroupunique="607UC " where recordno = 169372] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18094 ,site="UNI " ,extgroupunique="607UC " where recordno = 169372" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169372] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169372" handleOld() recordno=42621 surname=.ASSIGNED firstname= extension=18094 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18094 ,site="UNI " ,extgroupunique="607UC " where recordno = 42621] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18094 ,site="UNI " ,extgroupunique="607UC " where recordno = 42621" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42621] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42621" nrows=2 ===================================================== aline=[18095 ,446UNI ,,VRT ,,UNI ,,18095 ,446UC ,,VRT ,,UNI , ] OldExtn=[18095 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18095 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18095 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18095 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18095 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18095 " deleterecordno nrows=No Counting Dir entry for Oldextn 18095 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18095 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18095 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18095 " deleterecordno nrows=No Moving Dir entry for Oldextn 18095 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18095 and fgroup != "V"" handleOld() recordno=42622 surname=RICHMOND-SMITH firstname=CHARLES extension=18095 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18095 ,site="UNI " ,extgroupunique="446UC " where recordno = 42622] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18095 ,site="UNI " ,extgroupunique="446UC " where recordno = 42622" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42622] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42622" nrows=1 ===================================================== aline=[18096 ,664UNI ,,VRT ,,UNI ,,18096 ,664UC ,,VRT ,,UNI , ] OldExtn=[18096 ] OldExtnGroup=[664UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18096 ] NewExtnGroup=[664UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18096 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18096 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18096 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18096 " deleterecordno nrows=No Counting Dir entry for Oldextn 18096 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "664UNI " AND extension = 18096 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18096 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18096 " deleterecordno nrows=No Moving Dir entry for Oldextn 18096 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18096 and fgroup != "V"" handleOld() recordno=42623 surname=ENG firstname=BOU extension=18096 site=UNI extgroupunique=664UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18096 ,site="UNI " ,extgroupunique="664UC " where recordno = 42623] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18096 ,site="UNI " ,extgroupunique="664UC " where recordno = 42623" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42623] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42623" nrows=1 ===================================================== aline=[18097 ,664UNI ,,VRT ,,UNI ,,18097 ,664UC ,,VRT ,,UNI , ] OldExtn=[18097 ] OldExtnGroup=[664UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18097 ] NewExtnGroup=[664UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18097 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18097 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18097 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18097 " deleterecordno nrows=No Counting Dir entry for Oldextn 18097 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "664UNI " AND extension = 18097 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18097 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18097 " deleterecordno nrows=No Moving Dir entry for Oldextn 18097 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18097 and fgroup != "V"" handleOld() recordno=42624 surname=QU firstname=LEON extension=18097 site=UNI extgroupunique=664UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18097 ,site="UNI " ,extgroupunique="664UC " where recordno = 42624] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18097 ,site="UNI " ,extgroupunique="664UC " where recordno = 42624" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42624] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42624" nrows=1 ===================================================== aline=[18098 ,419UNI ,,VRT ,,UNI ,,18098 ,419UC ,,VRT ,,UNI , ] OldExtn=[18098 ] OldExtnGroup=[419UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18098 ] NewExtnGroup=[419UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18098 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18098 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18098 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18098 " deleterecordno nrows=No Counting Dir entry for Oldextn 18098 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "419UNI " AND extension = 18098 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18098 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18098 " deleterecordno nrows=No Moving Dir entry for Oldextn 18098 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18098 and fgroup != "V"" handleOld() recordno=42625 surname=.ASSIGNED firstname= extension=18098 site=UNI extgroupunique=419UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18098 ,site="UNI " ,extgroupunique="419UC " where recordno = 42625] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18098 ,site="UNI " ,extgroupunique="419UC " where recordno = 42625" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42625] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42625" nrows=1 ===================================================== aline=[18099 ,446UNI ,,VRT ,,UNI ,,18099 ,446UC ,,VRT ,,UNI , ] OldExtn=[18099 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18099 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18099 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18099 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18099 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18099 " deleterecordno nrows=No Counting Dir entry for Oldextn 18099 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18099 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18099 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18099 " deleterecordno nrows=No Moving Dir entry for Oldextn 18099 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18099 and fgroup != "V"" handleOld() recordno=42626 surname=FLETCHER firstname=BARRY extension=18099 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18099 ,site="UNI " ,extgroupunique="446UC " where recordno = 42626] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18099 ,site="UNI " ,extgroupunique="446UC " where recordno = 42626" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42626] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42626" nrows=1 ===================================================== aline=[18600 ,416UNI ,,VRT ,,UNI ,,18600 ,416UC ,,VRT ,,UNI , ] OldExtn=[18600 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18600 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18600 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18600 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18600 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18600 " deleterecordno nrows=No Counting Dir entry for Oldextn 18600 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18600 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18600 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18600 " deleterecordno nrows=No Moving Dir entry for Oldextn 18600 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18600 and fgroup != "V"" handleOld() recordno=168392 surname=ROSE firstname=ARIANNE extension=18600 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18600 ,site="UNI " ,extgroupunique="416UC " where recordno = 168392] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18600 ,site="UNI " ,extgroupunique="416UC " where recordno = 168392" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168392] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168392" nrows=1 ===================================================== aline=[18601 ,UNIVACA ,,VAC ,,UNI ,,18601 ,VACUC,,VAC ,,UNI , ] OldExtn=[18601 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18601 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18601 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18601 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18601 " delete entry for recordno=164037 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164037" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164037] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164037" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164037" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164037] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164037" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164037" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164037] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164037" deleterecordno nrows=1 Counting Dir entry for Oldextn 18601 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18601 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18601 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18602 ,960UNI ,,VRT ,,UNI ,,18602 ,960UC ,,VRT ,,UNI , ] OldExtn=[18602 ] OldExtnGroup=[960UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18602 ] NewExtnGroup=[960UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18602 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18602 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18602 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18602 " deleterecordno nrows=No Counting Dir entry for Oldextn 18602 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "960UNI " AND extension = 18602 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18602 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18602 " deleterecordno nrows=No Moving Dir entry for Oldextn 18602 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18602 and fgroup != "V"" handleOld() recordno=164038 surname=WATERS firstname=KIM extension=18602 site=UNI extgroupunique=960UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18602 ,site="UNI " ,extgroupunique="960UC " where recordno = 164038] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18602 ,site="UNI " ,extgroupunique="960UC " where recordno = 164038" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164038] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164038" nrows=1 ===================================================== aline=[18603 ,446UNI ,,VRT ,,UNI ,,18603 ,446UC ,,VRT ,,UNI , ] OldExtn=[18603 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18603 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18603 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18603 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18603 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18603 " deleterecordno nrows=No Counting Dir entry for Oldextn 18603 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18603 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18603 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18603 " deleterecordno nrows=No Moving Dir entry for Oldextn 18603 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18603 and fgroup != "V"" handleOld() recordno=164039 surname=WATSON firstname=ROBERT extension=18603 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18603 ,site="UNI " ,extgroupunique="446UC " where recordno = 164039] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18603 ,site="UNI " ,extgroupunique="446UC " where recordno = 164039" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164039] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164039" handleOld() recordno=169208 surname=BOOT firstname=DAVID extension=18603 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18603 ,site="UNI " ,extgroupunique="446UC " where recordno = 169208] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18603 ,site="UNI " ,extgroupunique="446UC " where recordno = 169208" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169208] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169208" nrows=2 ===================================================== aline=[18604 ,UNIVACA ,,VAC ,,UNI ,,18604 ,VACUC,,VAC ,,UNI , ] OldExtn=[18604 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18604 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18604 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18604 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18604 " delete entry for recordno=164040 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164040" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164040] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164040" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164040" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164040] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164040" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164040" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164040] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164040" deleterecordno nrows=1 Counting Dir entry for Oldextn 18604 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18604 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18604 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18605 ,482UNI ,,VRT ,,UNI ,,18605 ,482UC ,,VRT ,,UNI , ] OldExtn=[18605 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18605 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18605 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18605 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18605 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18605 " deleterecordno nrows=No Counting Dir entry for Oldextn 18605 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18605 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18605 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18605 " deleterecordno nrows=No Moving Dir entry for Oldextn 18605 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18605 and fgroup != "V"" handleOld() recordno=164041 surname=FARRELL firstname=BRAD extension=18605 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18605 ,site="UNI " ,extgroupunique="482UC " where recordno = 164041] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18605 ,site="UNI " ,extgroupunique="482UC " where recordno = 164041" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164041] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164041" nrows=1 ===================================================== aline=[18606 ,482UNI ,,VRT ,,UNI ,,18606 ,482UC ,,VRT ,,UNI , ] OldExtn=[18606 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18606 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18606 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18606 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18606 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18606 " deleterecordno nrows=No Counting Dir entry for Oldextn 18606 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18606 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18606 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18606 " deleterecordno nrows=No Moving Dir entry for Oldextn 18606 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18606 and fgroup != "V"" handleOld() recordno=164042 surname=COSTANTINO firstname=SEBASTIAN extension=18606 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18606 ,site="UNI " ,extgroupunique="482UC " where recordno = 164042] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18606 ,site="UNI " ,extgroupunique="482UC " where recordno = 164042" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164042] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164042" nrows=1 ===================================================== aline=[18607 ,UNIVACA ,,VAC ,,UNI ,,18607 ,VACUC,,VAC ,,UNI , ] OldExtn=[18607 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18607 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18607 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18607 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18607 " delete entry for recordno=164043 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164043" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164043] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164043" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164043" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164043] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164043" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164043" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164043] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164043" deleterecordno nrows=1 Counting Dir entry for Oldextn 18607 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18607 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18607 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18608 ,611UNI ,,VRT ,,UNI ,,18608 ,611UC ,,VRT ,,UNI , ] OldExtn=[18608 ] OldExtnGroup=[611UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18608 ] NewExtnGroup=[611UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18608 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18608 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18608 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18608 " deleterecordno nrows=No Counting Dir entry for Oldextn 18608 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "611UNI " AND extension = 18608 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18608 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18608 " deleterecordno nrows=No Moving Dir entry for Oldextn 18608 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18608 and fgroup != "V"" handleOld() recordno=164044 surname=.ASSIGNED firstname= extension=18608 site=UNI extgroupunique=611UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18608 ,site="UNI " ,extgroupunique="611UC " where recordno = 164044] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18608 ,site="UNI " ,extgroupunique="611UC " where recordno = 164044" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164044] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164044" nrows=1 ===================================================== aline=[18609 ,815UNI ,,VRT ,,UNI ,,18609 ,815UC ,,VRT ,,UNI , ] OldExtn=[18609 ] OldExtnGroup=[815UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18609 ] NewExtnGroup=[815UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18609 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18609 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18609 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18609 " deleterecordno nrows=No Counting Dir entry for Oldextn 18609 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "815UNI " AND extension = 18609 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "815UNI " AND extension = 18609 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18609 " deleterecordno nrows=No Moving Dir entry for Oldextn 18609 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "815UNI " AND extension = 18609 and fgroup != "V"" handleOld() recordno=164045 surname=SPOONER firstname=KYLIE extension=18609 site=UNI extgroupunique=815UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18609 ,site="UNI " ,extgroupunique="815UC " where recordno = 164045] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18609 ,site="UNI " ,extgroupunique="815UC " where recordno = 164045" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164045] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164045" nrows=1 ===================================================== aline=[18610 ,UNIVACA ,,VAC ,,UNI ,,18610 ,VACUC,,VAC ,,UNI , ] OldExtn=[18610 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18610 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18610 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18610 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18610 " delete entry for recordno=164046 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164046" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164046] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164046" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164046" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164046] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164046" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164046" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164046] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164046" deleterecordno nrows=1 Counting Dir entry for Oldextn 18610 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18610 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18610 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18611 ,418UNI ,,VRT ,,UNI ,,18611 ,418UC ,,VRT ,,UNI , ] OldExtn=[18611 ] OldExtnGroup=[418UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18611 ] NewExtnGroup=[418UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18611 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18611 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18611 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18611 " deleterecordno nrows=No Counting Dir entry for Oldextn 18611 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "418UNI " AND extension = 18611 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18611 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18611 " deleterecordno nrows=No Moving Dir entry for Oldextn 18611 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18611 and fgroup != "V"" handleOld() recordno=168237 surname=BROWN firstname=ANNA extension=18611 site=UNI extgroupunique=418UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18611 ,site="UNI " ,extgroupunique="418UC " where recordno = 168237] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18611 ,site="UNI " ,extgroupunique="418UC " where recordno = 168237" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168237] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168237" nrows=1 ===================================================== aline=[18612 ,UNIVACA ,,VAC ,,UNI ,,18612 ,VACUC,,VAC ,,UNI , ] OldExtn=[18612 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18612 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18612 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18612 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18612 " delete entry for recordno=164048 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164048" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164048] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164048" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164048" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164048] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164048" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164048" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164048] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164048" deleterecordno nrows=1 Counting Dir entry for Oldextn 18612 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18612 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18612 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18613 ,430UNI ,,VRT ,,UNI ,,18613 ,430UC ,,VRT ,,UNI , ] OldExtn=[18613 ] OldExtnGroup=[430UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18613 ] NewExtnGroup=[430UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18613 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18613 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18613 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18613 " deleterecordno nrows=No Counting Dir entry for Oldextn 18613 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "430UNI " AND extension = 18613 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "430UNI " AND extension = 18613 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18613 " deleterecordno nrows=No Moving Dir entry for Oldextn 18613 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "430UNI " AND extension = 18613 and fgroup != "V"" handleOld() recordno=169864 surname=GREEN firstname=LLOYD extension=18613 site=UNI extgroupunique=430UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18613 ,site="UNI " ,extgroupunique="430UC " where recordno = 169864] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18613 ,site="UNI " ,extgroupunique="430UC " where recordno = 169864" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169864] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169864" handleOld() recordno=169645 surname=CEFAI firstname=ADAM extension=18613 site=UNI extgroupunique=430UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18613 ,site="UNI " ,extgroupunique="430UC " where recordno = 169645] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18613 ,site="UNI " ,extgroupunique="430UC " where recordno = 169645" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169645] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169645" nrows=2 ===================================================== aline=[18614 ,665UNI ,,VRT ,,UNI ,,18614 ,665UC ,,VRT ,,UNI , ] OldExtn=[18614 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18614 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18614 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18614 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18614 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18614 " deleterecordno nrows=No Counting Dir entry for Oldextn 18614 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18614 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18614 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18614 " deleterecordno nrows=No Moving Dir entry for Oldextn 18614 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18614 and fgroup != "V"" handleOld() recordno=164050 surname=KLASNIC firstname=BRANKO extension=18614 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18614 ,site="UNI " ,extgroupunique="665UC " where recordno = 164050] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18614 ,site="UNI " ,extgroupunique="665UC " where recordno = 164050" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164050] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164050" nrows=1 ===================================================== aline=[18615 ,UNIVACA ,,VAC ,,UNI ,,18615 ,VACUC,,VAC ,,UNI , ] OldExtn=[18615 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18615 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18615 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18615 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18615 " delete entry for recordno=164051 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164051" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164051] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164051" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164051" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164051] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164051" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164051" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164051] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164051" deleterecordno nrows=1 Counting Dir entry for Oldextn 18615 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18615 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18615 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18616 ,UNIVACA ,,VAC ,,UNI ,,18616 ,VACUC,,VAC ,,UNI , ] OldExtn=[18616 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18616 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18616 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18616 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18616 " delete entry for recordno=164052 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164052" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164052] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164052" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164052" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164052] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164052" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164052" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164052] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164052" deleterecordno nrows=1 Counting Dir entry for Oldextn 18616 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18616 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18616 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18617 ,580UNI ,,VRT ,,UNI ,,18617 ,580UC ,,VRT ,,UNI , ] OldExtn=[18617 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18617 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18617 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18617 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18617 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18617 " deleterecordno nrows=No Counting Dir entry for Oldextn 18617 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18617 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18617 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18617 " deleterecordno nrows=No Moving Dir entry for Oldextn 18617 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18617 and fgroup != "V"" handleOld() recordno=164053 surname=LEE-SANG firstname=NEAL extension=18617 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18617 ,site="UNI " ,extgroupunique="580UC " where recordno = 164053] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18617 ,site="UNI " ,extgroupunique="580UC " where recordno = 164053" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164053] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164053" nrows=1 ===================================================== aline=[18618 ,580UNI ,,VRT ,,UNI ,,18618 ,580UC ,,VRT ,,UNI , ] OldExtn=[18618 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18618 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18618 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18618 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18618 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18618 " deleterecordno nrows=No Counting Dir entry for Oldextn 18618 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18618 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18618 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18618 " deleterecordno nrows=No Moving Dir entry for Oldextn 18618 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18618 and fgroup != "V"" handleOld() recordno=164054 surname=NGUYEN firstname=KEVIN extension=18618 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18618 ,site="UNI " ,extgroupunique="580UC " where recordno = 164054] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18618 ,site="UNI " ,extgroupunique="580UC " where recordno = 164054" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164054] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164054" nrows=1 ===================================================== aline=[18619 ,580UNI ,,VRT ,,UNI ,,18619 ,580UC ,,VRT ,,UNI , ] OldExtn=[18619 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18619 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18619 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18619 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18619 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18619 " deleterecordno nrows=No Counting Dir entry for Oldextn 18619 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18619 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18619 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18619 " deleterecordno nrows=No Moving Dir entry for Oldextn 18619 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18619 and fgroup != "V"" handleOld() recordno=164055 surname=VAVASSEUR firstname=DAVID extension=18619 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18619 ,site="UNI " ,extgroupunique="580UC " where recordno = 164055] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18619 ,site="UNI " ,extgroupunique="580UC " where recordno = 164055" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164055] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164055" nrows=1 ===================================================== aline=[18620 ,UNIVACA ,,VAC ,,UNI ,,18620 ,VACUC,,VAC ,,UNI , ] OldExtn=[18620 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18620 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18620 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18620 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18620 " delete entry for recordno=164056 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164056" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164056] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164056" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164056" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164056] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164056" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164056" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164056] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164056" deleterecordno nrows=1 Counting Dir entry for Oldextn 18620 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18620 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18620 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18621 ,582UNI ,,VRT ,,UNI ,,18621 ,582UC ,,VRT ,,UNI , ] OldExtn=[18621 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18621 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18621 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18621 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18621 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18621 " deleterecordno nrows=No Counting Dir entry for Oldextn 18621 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18621 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18621 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18621 " deleterecordno nrows=No Moving Dir entry for Oldextn 18621 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18621 and fgroup != "V"" handleOld() recordno=168655 surname=TRAN firstname=MICHAEL extension=18621 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18621 ,site="UNI " ,extgroupunique="582UC " where recordno = 168655] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18621 ,site="UNI " ,extgroupunique="582UC " where recordno = 168655" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168655] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168655" nrows=1 ===================================================== aline=[18622,UNIVACA ,,VAC ,,UNI ,,18622,VACUC,,VAC ,,UNI , ] OldExtn=[18622] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18622] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18622 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18622 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18622 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18622" deleterecordno nrows=No Counting Dir entry for Oldextn 18622 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18622 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18622 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18623 ,970UNI ,,VRT ,,UNI ,,18623 ,970UC ,,VRT ,,UNI , ] OldExtn=[18623 ] OldExtnGroup=[970UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18623 ] NewExtnGroup=[970UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18623 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18623 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18623 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18623 " deleterecordno nrows=No Counting Dir entry for Oldextn 18623 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "970UNI " AND extension = 18623 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18623 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18623 " deleterecordno nrows=No Moving Dir entry for Oldextn 18623 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18623 and fgroup != "V"" handleOld() recordno=164059 surname=DEL CAMPO firstname=MATTHEW extension=18623 site=UNI extgroupunique=970UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18623 ,site="UNI " ,extgroupunique="970UC " where recordno = 164059] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18623 ,site="UNI " ,extgroupunique="970UC " where recordno = 164059" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164059] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164059" nrows=1 ===================================================== aline=[18624 ,662UNI ,,VRT ,,UNI ,,18624 ,662UC ,,VRT ,,UNI , ] OldExtn=[18624 ] OldExtnGroup=[662UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18624 ] NewExtnGroup=[662UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18624 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18624 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18624 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18624 " deleterecordno nrows=No Counting Dir entry for Oldextn 18624 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "662UNI " AND extension = 18624 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "662UNI " AND extension = 18624 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18624 " deleterecordno nrows=No Moving Dir entry for Oldextn 18624 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "662UNI " AND extension = 18624 and fgroup != "V"" handleOld() recordno=164060 surname=.ASSIGNED firstname= extension=18624 site=UNI extgroupunique=662UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18624 ,site="UNI " ,extgroupunique="662UC " where recordno = 164060] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18624 ,site="UNI " ,extgroupunique="662UC " where recordno = 164060" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164060] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164060" nrows=1 ===================================================== aline=[18625 ,416UNI ,,VRT ,,UNI ,,18625 ,416UC ,,VRT ,,UNI , ] OldExtn=[18625 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18625 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18625 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18625 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18625 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18625 " deleterecordno nrows=No Counting Dir entry for Oldextn 18625 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18625 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18625 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18625 " deleterecordno nrows=No Moving Dir entry for Oldextn 18625 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18625 and fgroup != "V"" handleOld() recordno=164061 surname=GALE firstname=ANDREW extension=18625 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18625 ,site="UNI " ,extgroupunique="416UC " where recordno = 164061] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18625 ,site="UNI " ,extgroupunique="416UC " where recordno = 164061" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164061] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164061" nrows=1 ===================================================== aline=[18626 ,UNIVACA ,,VAC ,,UNI ,,18626 ,VACUC,,VAC ,,UNI , ] OldExtn=[18626 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18626 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18626 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18626 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18626 " delete entry for recordno=164062 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164062" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164062] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164062" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164062" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164062] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164062" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164062" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164062] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164062" deleterecordno nrows=1 Counting Dir entry for Oldextn 18626 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18626 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18626 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18627 ,664UNI ,,VRT ,,UNI ,,18627 ,664UC ,,VRT ,,UNI , ] OldExtn=[18627 ] OldExtnGroup=[664UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18627 ] NewExtnGroup=[664UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18627 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18627 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18627 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18627 " deleterecordno nrows=No Counting Dir entry for Oldextn 18627 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "664UNI " AND extension = 18627 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18627 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18627 " deleterecordno nrows=No Moving Dir entry for Oldextn 18627 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18627 and fgroup != "V"" handleOld() recordno=164063 surname=NAGARAJAH firstname=MOSES extension=18627 site=UNI extgroupunique=664UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18627 ,site="UNI " ,extgroupunique="664UC " where recordno = 164063] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18627 ,site="UNI " ,extgroupunique="664UC " where recordno = 164063" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164063] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164063" nrows=1 ===================================================== aline=[18628 ,441UNI ,,VRT ,,UNI ,,18628 ,441UC ,,VRT ,,UNI , ] OldExtn=[18628 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18628 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18628 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18628 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18628 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18628 " deleterecordno nrows=No Counting Dir entry for Oldextn 18628 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18628 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18628 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18628 " deleterecordno nrows=No Moving Dir entry for Oldextn 18628 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18628 and fgroup != "V"" handleOld() recordno=164064 surname=WOOD firstname=JAMIE extension=18628 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18628 ,site="UNI " ,extgroupunique="441UC " where recordno = 164064] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18628 ,site="UNI " ,extgroupunique="441UC " where recordno = 164064" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164064] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164064" nrows=1 ===================================================== aline=[18629 ,438UNI ,,VRT ,,UNI ,,18629 ,438UC ,,VRT ,,UNI , ] OldExtn=[18629 ] OldExtnGroup=[438UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18629 ] NewExtnGroup=[438UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18629 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18629 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18629 " delete entry for recordno=164065 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164065" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164065] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164065" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164065" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164065] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164065" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164065" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164065] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164065" deleterecordno nrows=1 Counting Dir entry for Oldextn 18629 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "438UNI " AND extension = 18629 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18629 OldPABX=UNI OldExtnGroup=438UNI ===================================================== aline=[18630 ,969UNI ,,VRT ,,UNI ,,18630 ,969UC ,,VRT ,,UNI , ] OldExtn=[18630 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18630 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18630 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18630 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18630 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18630 " deleterecordno nrows=No Counting Dir entry for Oldextn 18630 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18630 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18630 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18630 " deleterecordno nrows=No Moving Dir entry for Oldextn 18630 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18630 and fgroup != "V"" handleOld() recordno=164066 surname=WEEKS firstname=TRACEY extension=18630 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18630 ,site="UNI " ,extgroupunique="969UC " where recordno = 164066] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18630 ,site="UNI " ,extgroupunique="969UC " where recordno = 164066" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164066] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164066" nrows=1 ===================================================== aline=[18631 ,961UNI ,,VRT ,,UNI ,,18631 ,961UC ,,VRT ,,UNI , ] OldExtn=[18631 ] OldExtnGroup=[961UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18631 ] NewExtnGroup=[961UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18631 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18631 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18631 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18631 " deleterecordno nrows=No Counting Dir entry for Oldextn 18631 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "961UNI " AND extension = 18631 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18631 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18631 " deleterecordno nrows=No Moving Dir entry for Oldextn 18631 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18631 and fgroup != "V"" handleOld() recordno=164067 surname=NIAZMAND firstname=ASSADULLAH extension=18631 site=UNI extgroupunique=961UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18631 ,site="UNI " ,extgroupunique="961UC " where recordno = 164067] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18631 ,site="UNI " ,extgroupunique="961UC " where recordno = 164067" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164067] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164067" nrows=1 ===================================================== aline=[18632 ,966UNI ,,VRT ,,UNI ,,18632 ,966UC ,,VRT ,,UNI , ] OldExtn=[18632 ] OldExtnGroup=[966UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18632 ] NewExtnGroup=[966UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18632 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18632 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18632 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18632 " deleterecordno nrows=No Counting Dir entry for Oldextn 18632 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "966UNI " AND extension = 18632 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18632 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18632 " deleterecordno nrows=No Moving Dir entry for Oldextn 18632 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18632 and fgroup != "V"" handleOld() recordno=168765 surname=HARRIS firstname=NEIL extension=18632 site=UNI extgroupunique=966UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18632 ,site="UNI " ,extgroupunique="966UC " where recordno = 168765] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18632 ,site="UNI " ,extgroupunique="966UC " where recordno = 168765" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168765] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168765" nrows=1 ===================================================== aline=[18633 ,446UNI ,,VRT ,,UNI ,,18633 ,446UC ,,VRT ,,UNI , ] OldExtn=[18633 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18633 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18633 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18633 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18633 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18633 " deleterecordno nrows=No Counting Dir entry for Oldextn 18633 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18633 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18633 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18633 " deleterecordno nrows=No Moving Dir entry for Oldextn 18633 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18633 and fgroup != "V"" handleOld() recordno=164069 surname=STUCHBERY firstname=TIM extension=18633 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18633 ,site="UNI " ,extgroupunique="446UC " where recordno = 164069] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18633 ,site="UNI " ,extgroupunique="446UC " where recordno = 164069" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164069] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164069" nrows=1 ===================================================== aline=[18634 ,441UNI ,,VRT ,,UNI ,,18634 ,441UC ,,VRT ,,UNI , ] OldExtn=[18634 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18634 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18634 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18634 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18634 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18634 " deleterecordno nrows=No Counting Dir entry for Oldextn 18634 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18634 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18634 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18634 " deleterecordno nrows=No Moving Dir entry for Oldextn 18634 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18634 and fgroup != "V"" handleOld() recordno=164070 surname=CLOKE firstname=RUSSELL extension=18634 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18634 ,site="UNI " ,extgroupunique="441UC " where recordno = 164070] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18634 ,site="UNI " ,extgroupunique="441UC " where recordno = 164070" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164070] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164070" nrows=1 ===================================================== aline=[18635 ,969UNI ,,VRT ,,UNI ,,18635 ,969UC ,,VRT ,,UNI , ] OldExtn=[18635 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18635 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18635 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18635 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18635 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18635 " deleterecordno nrows=No Counting Dir entry for Oldextn 18635 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18635 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18635 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18635 " deleterecordno nrows=No Moving Dir entry for Oldextn 18635 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18635 and fgroup != "V"" handleOld() recordno=164071 surname=SUPRIJATNA firstname=ADE extension=18635 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18635 ,site="UNI " ,extgroupunique="969UC " where recordno = 164071] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18635 ,site="UNI " ,extgroupunique="969UC " where recordno = 164071" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164071] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164071" nrows=1 ===================================================== aline=[18636 ,UNIVACA ,,VAC ,,UNI ,,18636 ,VACUC,,VAC ,,UNI , ] OldExtn=[18636 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18636 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18636 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18636 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18636 " delete entry for recordno=164072 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164072" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164072] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164072" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164072" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164072] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164072" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164072" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164072] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164072" deleterecordno nrows=1 Counting Dir entry for Oldextn 18636 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18636 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18636 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18637 ,UNIVACA ,,VAC ,,UNI ,,18637 ,VACUC,,VAC ,,UNI , ] OldExtn=[18637 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18637 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18637 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18637 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18637 " delete entry for recordno=164073 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164073" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164073] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164073" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164073" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164073] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164073" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164073" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164073] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164073" deleterecordno nrows=1 Counting Dir entry for Oldextn 18637 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18637 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18637 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18638 ,966UNI ,,VRT ,,UNI ,,18638 ,966UC ,,VRT ,,UNI , ] OldExtn=[18638 ] OldExtnGroup=[966UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18638 ] NewExtnGroup=[966UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18638 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18638 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18638 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18638 " deleterecordno nrows=No Counting Dir entry for Oldextn 18638 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "966UNI " AND extension = 18638 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18638 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18638 " deleterecordno nrows=No Moving Dir entry for Oldextn 18638 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18638 and fgroup != "V"" handleOld() recordno=164074 surname=CARUSO firstname=JOSEPH extension=18638 site=UNI extgroupunique=966UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18638 ,site="UNI " ,extgroupunique="966UC " where recordno = 164074] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18638 ,site="UNI " ,extgroupunique="966UC " where recordno = 164074" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164074] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164074" nrows=1 ===================================================== aline=[18639 ,969UNI ,,VRT ,,UNI ,,18639 ,969UC ,,VRT ,,UNI , ] OldExtn=[18639 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18639 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18639 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18639 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18639 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18639 " deleterecordno nrows=No Counting Dir entry for Oldextn 18639 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18639 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18639 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18639 " deleterecordno nrows=No Moving Dir entry for Oldextn 18639 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18639 and fgroup != "V"" handleOld() recordno=164075 surname=BYSTERVELD firstname=SHARLEEN extension=18639 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18639 ,site="UNI " ,extgroupunique="969UC " where recordno = 164075] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18639 ,site="UNI " ,extgroupunique="969UC " where recordno = 164075" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164075] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164075" nrows=1 ===================================================== aline=[18640 ,UNIVACA ,,VAC ,,UNI ,,18640 ,VACUC,,VAC ,,UNI , ] OldExtn=[18640 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18640 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18640 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18640 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18640 " delete entry for recordno=164076 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164076" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164076] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164076" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164076" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164076] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164076" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164076" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164076] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164076" deleterecordno nrows=1 Counting Dir entry for Oldextn 18640 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18640 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18640 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18641 ,961UNI ,,VRT ,,UNI ,,18641 ,961UC ,,VRT ,,UNI , ] OldExtn=[18641 ] OldExtnGroup=[961UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18641 ] NewExtnGroup=[961UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18641 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18641 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18641 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18641 " deleterecordno nrows=No Counting Dir entry for Oldextn 18641 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "961UNI " AND extension = 18641 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18641 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18641 " deleterecordno nrows=No Moving Dir entry for Oldextn 18641 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18641 and fgroup != "V"" handleOld() recordno=167698 surname=LOWTHER firstname=SUE-ANN extension=18641 site=UNI extgroupunique=961UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18641 ,site="UNI " ,extgroupunique="961UC " where recordno = 167698] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18641 ,site="UNI " ,extgroupunique="961UC " where recordno = 167698" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167698] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167698" nrows=1 ===================================================== aline=[18642 ,444UNI ,,VRT ,,UNI ,,18642 ,444UC ,,VRT ,,UNI , ] OldExtn=[18642 ] OldExtnGroup=[444UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18642 ] NewExtnGroup=[444UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18642 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18642 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18642 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18642 " deleterecordno nrows=No Counting Dir entry for Oldextn 18642 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "444UNI " AND extension = 18642 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18642 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18642 " deleterecordno nrows=No Moving Dir entry for Oldextn 18642 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18642 and fgroup != "V"" handleOld() recordno=164078 surname=THOMPSON firstname=BLANCHE extension=18642 site=UNI extgroupunique=444UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18642 ,site="UNI " ,extgroupunique="444UC " where recordno = 164078] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18642 ,site="UNI " ,extgroupunique="444UC " where recordno = 164078" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164078] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164078" nrows=1 ===================================================== aline=[18643 ,660UNI ,,VRT ,,UNI ,,18643 ,660UC ,,VRT ,,UNI , ] OldExtn=[18643 ] OldExtnGroup=[660UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18643 ] NewExtnGroup=[660UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18643 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18643 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18643 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18643 " deleterecordno nrows=No Counting Dir entry for Oldextn 18643 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "660UNI " AND extension = 18643 and fgroup != "V"" nrows=3 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18643 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18643 " deleterecordno nrows=No Moving Dir entry for Oldextn 18643 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18643 and fgroup != "V"" handleOld() recordno=169370 surname=QUICK firstname=AARON extension=18643 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18643 ,site="UNI " ,extgroupunique="660UC " where recordno = 169370] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18643 ,site="UNI " ,extgroupunique="660UC " where recordno = 169370" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169370] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169370" handleOld() recordno=169210 surname=RENDA firstname=JOHN extension=18643 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18643 ,site="UNI " ,extgroupunique="660UC " where recordno = 169210] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18643 ,site="UNI " ,extgroupunique="660UC " where recordno = 169210" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169210] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169210" handleOld() recordno=169209 surname=DAGHER firstname=HABIB extension=18643 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18643 ,site="UNI " ,extgroupunique="660UC " where recordno = 169209] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18643 ,site="UNI " ,extgroupunique="660UC " where recordno = 169209" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169209] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169209" nrows=3 ===================================================== aline=[18644 ,660UNI ,,VRT ,,UNI ,,18644 ,660UC ,,VRT ,,UNI , ] OldExtn=[18644 ] OldExtnGroup=[660UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18644 ] NewExtnGroup=[660UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18644 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18644 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18644 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18644 " deleterecordno nrows=No Counting Dir entry for Oldextn 18644 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "660UNI " AND extension = 18644 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18644 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18644 " deleterecordno nrows=No Moving Dir entry for Oldextn 18644 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18644 and fgroup != "V"" handleOld() recordno=167019 surname=GRILLO firstname=FRANK extension=18644 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18644 ,site="UNI " ,extgroupunique="660UC " where recordno = 167019] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18644 ,site="UNI " ,extgroupunique="660UC " where recordno = 167019" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167019] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167019" nrows=1 ===================================================== aline=[18645 ,UNIVACA ,,VAC ,,UNI ,,18645 ,VACUC,,VAC ,,UNI , ] OldExtn=[18645 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18645 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18645 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18645 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18645 " delete entry for recordno=169121 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 169121" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 169121] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 169121" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 169121" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 169121] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 169121" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 169121" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 169121] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 169121" deleterecordno nrows=1 Counting Dir entry for Oldextn 18645 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18645 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18645 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18646 ,595UNI ,,VRT ,,UNI ,,18646 ,595UC ,,VRT ,,UNI , ] OldExtn=[18646 ] OldExtnGroup=[595UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18646 ] NewExtnGroup=[595UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18646 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18646 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18646 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18646 " deleterecordno nrows=No Counting Dir entry for Oldextn 18646 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "595UNI " AND extension = 18646 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "595UNI " AND extension = 18646 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18646 " deleterecordno nrows=No Moving Dir entry for Oldextn 18646 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "595UNI " AND extension = 18646 and fgroup != "V"" handleOld() recordno=164082 surname=SZULIK firstname=DANIEL extension=18646 site=UNI extgroupunique=595UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18646 ,site="UNI " ,extgroupunique="595UC " where recordno = 164082] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18646 ,site="UNI " ,extgroupunique="595UC " where recordno = 164082" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164082] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164082" nrows=1 ===================================================== aline=[18647 ,UNIVACA ,,VAC ,,UNI ,,18647 ,VACUC,,VAC ,,UNI , ] OldExtn=[18647 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18647 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18647 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18647 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18647 " delete entry for recordno=164083 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164083" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164083] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164083" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164083" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164083] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164083" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164083" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164083] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164083" deleterecordno nrows=1 Counting Dir entry for Oldextn 18647 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18647 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18647 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18648 ,445UNI ,,VRT ,,UNI ,,18648 ,445UC ,,VRT ,,UNI , ] OldExtn=[18648 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18648 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18648 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18648 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18648 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18648 " deleterecordno nrows=No Counting Dir entry for Oldextn 18648 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18648 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18648 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18648 " deleterecordno nrows=No Moving Dir entry for Oldextn 18648 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18648 and fgroup != "V"" handleOld() recordno=164084 surname=LILLEY firstname=STEPHEN extension=18648 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18648 ,site="UNI " ,extgroupunique="445UC " where recordno = 164084] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18648 ,site="UNI " ,extgroupunique="445UC " where recordno = 164084" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164084] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164084" nrows=1 ===================================================== aline=[18649 ,418UNI ,,VRT ,,UNI ,,18649 ,418UC ,,VRT ,,UNI , ] OldExtn=[18649 ] OldExtnGroup=[418UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18649 ] NewExtnGroup=[418UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18649 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18649 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18649 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18649 " deleterecordno nrows=No Counting Dir entry for Oldextn 18649 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "418UNI " AND extension = 18649 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18649 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18649 " deleterecordno nrows=No Moving Dir entry for Oldextn 18649 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18649 and fgroup != "V"" handleOld() recordno=169397 surname=ENGLISH firstname=TIM extension=18649 site=UNI extgroupunique=418UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18649 ,site="UNI " ,extgroupunique="418UC " where recordno = 169397] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18649 ,site="UNI " ,extgroupunique="418UC " where recordno = 169397" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169397] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169397" nrows=1 ===================================================== aline=[18650 ,582UNI ,,VRT ,,UNI ,,18650 ,582UC ,,VRT ,,UNI , ] OldExtn=[18650 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18650 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18650 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18650 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18650 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18650 " deleterecordno nrows=No Counting Dir entry for Oldextn 18650 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18650 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18650 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18650 " deleterecordno nrows=No Moving Dir entry for Oldextn 18650 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18650 and fgroup != "V"" handleOld() recordno=164086 surname=MOODIE firstname=STEPHEN extension=18650 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18650 ,site="UNI " ,extgroupunique="582UC " where recordno = 164086] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18650 ,site="UNI " ,extgroupunique="582UC " where recordno = 164086" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164086] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164086" nrows=1 ===================================================== aline=[18651 ,970UNI ,,VRT ,,UNI ,,18651 ,970UC ,,VRT ,,UNI , ] OldExtn=[18651 ] OldExtnGroup=[970UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18651 ] NewExtnGroup=[970UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18651 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18651 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18651 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18651 " deleterecordno nrows=No Counting Dir entry for Oldextn 18651 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "970UNI " AND extension = 18651 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18651 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18651 " deleterecordno nrows=No Moving Dir entry for Oldextn 18651 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18651 and fgroup != "V"" handleOld() recordno=164087 surname=MCCORMACK firstname=RYAN extension=18651 site=UNI extgroupunique=970UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18651 ,site="UNI " ,extgroupunique="970UC " where recordno = 164087] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18651 ,site="UNI " ,extgroupunique="970UC " where recordno = 164087" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164087] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164087" nrows=1 ===================================================== aline=[18652 ,961UNI ,,VRT ,,UNI ,,18652 ,961UC ,,VRT ,,UNI , ] OldExtn=[18652 ] OldExtnGroup=[961UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18652 ] NewExtnGroup=[961UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18652 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18652 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18652 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18652 " deleterecordno nrows=No Counting Dir entry for Oldextn 18652 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "961UNI " AND extension = 18652 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18652 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18652 " deleterecordno nrows=No Moving Dir entry for Oldextn 18652 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18652 and fgroup != "V"" handleOld() recordno=164088 surname=.ASSIGNED firstname= extension=18652 site=UNI extgroupunique=961UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18652 ,site="UNI " ,extgroupunique="961UC " where recordno = 164088] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18652 ,site="UNI " ,extgroupunique="961UC " where recordno = 164088" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164088] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164088" nrows=1 ===================================================== aline=[18653 ,665UNI ,,VRT ,,UNI ,,18653 ,665UC ,,VRT ,,UNI , ] OldExtn=[18653 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18653 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18653 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18653 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18653 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18653 " deleterecordno nrows=No Counting Dir entry for Oldextn 18653 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18653 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18653 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18653 " deleterecordno nrows=No Moving Dir entry for Oldextn 18653 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18653 and fgroup != "V"" handleOld() recordno=164089 surname=JUMANGIT firstname=JESUS extension=18653 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18653 ,site="UNI " ,extgroupunique="665UC " where recordno = 164089] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18653 ,site="UNI " ,extgroupunique="665UC " where recordno = 164089" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164089] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164089" nrows=1 ===================================================== aline=[18654 ,961UNI ,,VRT ,,UNI ,,18654 ,961UC ,,VRT ,,UNI , ] OldExtn=[18654 ] OldExtnGroup=[961UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18654 ] NewExtnGroup=[961UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18654 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18654 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18654 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18654 " deleterecordno nrows=No Counting Dir entry for Oldextn 18654 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "961UNI " AND extension = 18654 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18654 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18654 " deleterecordno nrows=No Moving Dir entry for Oldextn 18654 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18654 and fgroup != "V"" handleOld() recordno=164090 surname=STANLEY firstname=KINGSLEY extension=18654 site=UNI extgroupunique=961UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18654 ,site="UNI " ,extgroupunique="961UC " where recordno = 164090] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18654 ,site="UNI " ,extgroupunique="961UC " where recordno = 164090" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164090] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164090" nrows=1 ===================================================== aline=[18655 ,607UNI ,,VRT ,,UNI ,,18655 ,607UC ,,VRT ,,UNI , ] OldExtn=[18655 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18655 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18655 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18655 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18655 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18655 " deleterecordno nrows=No Counting Dir entry for Oldextn 18655 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18655 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18655 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18655 " deleterecordno nrows=No Moving Dir entry for Oldextn 18655 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18655 and fgroup != "V"" handleOld() recordno=168080 surname=BEST firstname=VINCENT extension=18655 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18655 ,site="UNI " ,extgroupunique="607UC " where recordno = 168080] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18655 ,site="UNI " ,extgroupunique="607UC " where recordno = 168080" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168080] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168080" nrows=1 ===================================================== aline=[18656 ,UNIVACA ,,VAC ,,UNI ,,18656 ,VACUC,,VAC ,,UNI , ] OldExtn=[18656 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18656 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18656 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18656 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18656 " delete entry for recordno=164092 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164092" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164092] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164092" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164092" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164092] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164092" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164092" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164092] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164092" deleterecordno nrows=1 Counting Dir entry for Oldextn 18656 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18656 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18656 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18657 ,961UNI ,,VRT ,,UNI ,,18657 ,961UC ,,VRT ,,UNI , ] OldExtn=[18657 ] OldExtnGroup=[961UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18657 ] NewExtnGroup=[961UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18657 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18657 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18657 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18657 " deleterecordno nrows=No Counting Dir entry for Oldextn 18657 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "961UNI " AND extension = 18657 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18657 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18657 " deleterecordno nrows=No Moving Dir entry for Oldextn 18657 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18657 and fgroup != "V"" handleOld() recordno=167974 surname=BUNNEY firstname=MATT extension=18657 site=UNI extgroupunique=961UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18657 ,site="UNI " ,extgroupunique="961UC " where recordno = 167974] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18657 ,site="UNI " ,extgroupunique="961UC " where recordno = 167974" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167974] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167974" nrows=1 ===================================================== aline=[18658 ,UNIVACA ,,VAC ,,UNI ,,18658 ,VACUC,,VAC ,,UNI , ] OldExtn=[18658 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18658 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18658 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18658 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18658 " delete entry for recordno=164094 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164094" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164094] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164094" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164094" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164094] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164094" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164094" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164094] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164094" deleterecordno nrows=1 Counting Dir entry for Oldextn 18658 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18658 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18658 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18659 ,441UNI ,,VRT ,,UNI ,,18659 ,441UC ,,VRT ,,UNI , ] OldExtn=[18659 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18659 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18659 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18659 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18659 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18659 " deleterecordno nrows=No Counting Dir entry for Oldextn 18659 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18659 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18659 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18659 " deleterecordno nrows=No Moving Dir entry for Oldextn 18659 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18659 and fgroup != "V"" handleOld() recordno=164095 surname=AREKION firstname=VIVIAN extension=18659 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18659 ,site="UNI " ,extgroupunique="441UC " where recordno = 164095] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18659 ,site="UNI " ,extgroupunique="441UC " where recordno = 164095" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164095] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164095" nrows=1 ===================================================== aline=[18660 ,963UNI ,,VRT ,,UNI ,,18660 ,963UC ,,VRT ,,UNI , ] OldExtn=[18660 ] OldExtnGroup=[963UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18660 ] NewExtnGroup=[963UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18660 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18660 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18660 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18660 " deleterecordno nrows=No Counting Dir entry for Oldextn 18660 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "963UNI " AND extension = 18660 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "963UNI " AND extension = 18660 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18660 " deleterecordno nrows=No Moving Dir entry for Oldextn 18660 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "963UNI " AND extension = 18660 and fgroup != "V"" handleOld() recordno=164096 surname=BLACKBURN firstname=MICHAEL extension=18660 site=UNI extgroupunique=963UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18660 ,site="UNI " ,extgroupunique="963UC " where recordno = 164096] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18660 ,site="UNI " ,extgroupunique="963UC " where recordno = 164096" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164096] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164096" nrows=1 ===================================================== aline=[18661 ,UNIVACA ,,VAC ,,UNI ,,18661 ,VACUC,,VAC ,,UNI , ] OldExtn=[18661 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18661 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18661 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18661 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18661 " delete entry for recordno=167256 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 167256" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 167256] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 167256" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 167256" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 167256] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 167256" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 167256" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 167256] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 167256" deleterecordno nrows=1 Counting Dir entry for Oldextn 18661 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18661 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18661 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18662 ,419UNI ,,VRT ,,UNI ,,18662 ,419UC ,,VRT ,,UNI , ] OldExtn=[18662 ] OldExtnGroup=[419UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18662 ] NewExtnGroup=[419UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18662 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18662 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18662 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18662 " deleterecordno nrows=No Counting Dir entry for Oldextn 18662 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "419UNI " AND extension = 18662 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18662 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18662 " deleterecordno nrows=No Moving Dir entry for Oldextn 18662 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18662 and fgroup != "V"" handleOld() recordno=164098 surname=WAYTH firstname=ROD extension=18662 site=UNI extgroupunique=419UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18662 ,site="UNI " ,extgroupunique="419UC " where recordno = 164098] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18662 ,site="UNI " ,extgroupunique="419UC " where recordno = 164098" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164098] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164098" nrows=1 ===================================================== aline=[18663 ,446UNI ,,VRT ,,UNI ,,18663 ,446UC ,,VRT ,,UNI , ] OldExtn=[18663 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18663 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18663 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18663 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18663 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18663 " deleterecordno nrows=No Counting Dir entry for Oldextn 18663 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18663 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18663 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18663 " deleterecordno nrows=No Moving Dir entry for Oldextn 18663 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18663 and fgroup != "V"" handleOld() recordno=167785 surname=HOGG firstname=DEREK extension=18663 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18663 ,site="UNI " ,extgroupunique="446UC " where recordno = 167785] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18663 ,site="UNI " ,extgroupunique="446UC " where recordno = 167785" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167785] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167785" nrows=1 ===================================================== aline=[18664 ,416UNI ,,VRT ,,UNI ,,18664 ,416UC ,,VRT ,,UNI , ] OldExtn=[18664 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18664 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18664 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18664 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18664 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18664 " deleterecordno nrows=No Counting Dir entry for Oldextn 18664 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18664 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18664 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18664 " deleterecordno nrows=No Moving Dir entry for Oldextn 18664 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18664 and fgroup != "V"" handleOld() recordno=164100 surname=.ASSIGNED firstname= extension=18664 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18664 ,site="UNI " ,extgroupunique="416UC " where recordno = 164100] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18664 ,site="UNI " ,extgroupunique="416UC " where recordno = 164100" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164100] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164100" nrows=1 ===================================================== aline=[18665 ,483UNI ,,VRT ,,UNI ,,18665 ,483UC ,,VRT ,,UNI , ] OldExtn=[18665 ] OldExtnGroup=[483UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18665 ] NewExtnGroup=[483UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18665 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18665 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18665 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18665 " deleterecordno nrows=No Counting Dir entry for Oldextn 18665 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "483UNI " AND extension = 18665 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "483UNI " AND extension = 18665 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18665 " deleterecordno nrows=No Moving Dir entry for Oldextn 18665 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "483UNI " AND extension = 18665 and fgroup != "V"" handleOld() recordno=164101 surname=SIM firstname=ANDREW extension=18665 site=UNI extgroupunique=483UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18665 ,site="UNI " ,extgroupunique="483UC " where recordno = 164101] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18665 ,site="UNI " ,extgroupunique="483UC " where recordno = 164101" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164101] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164101" nrows=1 ===================================================== aline=[18666 ,966UNI ,,VRT ,,UNI ,,18666 ,966UC ,,VRT ,,UNI , ] OldExtn=[18666 ] OldExtnGroup=[966UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18666 ] NewExtnGroup=[966UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18666 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18666 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18666 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18666 " deleterecordno nrows=No Counting Dir entry for Oldextn 18666 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "966UNI " AND extension = 18666 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18666 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18666 " deleterecordno nrows=No Moving Dir entry for Oldextn 18666 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18666 and fgroup != "V"" handleOld() recordno=164102 surname=OLDFIELD firstname=SCOTT extension=18666 site=UNI extgroupunique=966UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18666 ,site="UNI " ,extgroupunique="966UC " where recordno = 164102] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18666 ,site="UNI " ,extgroupunique="966UC " where recordno = 164102" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164102] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164102" nrows=1 ===================================================== aline=[18667 ,UNIVACA ,,VAC ,,UNI ,,18667 ,VACUC,,VAC ,,UNI , ] OldExtn=[18667 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18667 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18667 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18667 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18667 " delete entry for recordno=167960 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 167960" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 167960] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 167960" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 167960" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 167960] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 167960" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 167960" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 167960] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 167960" deleterecordno nrows=1 Counting Dir entry for Oldextn 18667 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18667 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18667 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18668 ,409UNI ,,VRT ,,UNI ,,18668 ,409UC ,,VRT ,,UNI , ] OldExtn=[18668 ] OldExtnGroup=[409UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18668 ] NewExtnGroup=[409UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18668 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18668 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18668 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18668 " deleterecordno nrows=No Counting Dir entry for Oldextn 18668 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "409UNI " AND extension = 18668 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18668 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18668 " deleterecordno nrows=No Moving Dir entry for Oldextn 18668 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18668 and fgroup != "V"" handleOld() recordno=164104 surname=GIBBS firstname=LYNDAL extension=18668 site=UNI extgroupunique=409UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18668 ,site="UNI " ,extgroupunique="409UC " where recordno = 164104] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18668 ,site="UNI " ,extgroupunique="409UC " where recordno = 164104" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164104] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164104" nrows=1 ===================================================== aline=[18669 ,445UNI ,,VRT ,,UNI ,,18669 ,445UC ,,VRT ,,UNI , ] OldExtn=[18669 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18669 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18669 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18669 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18669 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18669 " deleterecordno nrows=No Counting Dir entry for Oldextn 18669 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18669 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18669 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18669 " deleterecordno nrows=No Moving Dir entry for Oldextn 18669 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18669 and fgroup != "V"" handleOld() recordno=164105 surname=TEVES firstname=PAUL extension=18669 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18669 ,site="UNI " ,extgroupunique="445UC " where recordno = 164105] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18669 ,site="UNI " ,extgroupunique="445UC " where recordno = 164105" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164105] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164105" nrows=1 ===================================================== aline=[18670 ,445UNI ,,VRT ,,UNI ,,18670 ,445UC ,,VRT ,,UNI , ] OldExtn=[18670 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18670 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18670 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18670 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18670 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18670 " deleterecordno nrows=No Counting Dir entry for Oldextn 18670 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18670 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18670 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18670 " deleterecordno nrows=No Moving Dir entry for Oldextn 18670 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18670 and fgroup != "V"" handleOld() recordno=167025 surname=.ASSIGNED firstname=IT ON CALL extension=18670 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18670 ,site="UNI " ,extgroupunique="445UC " where recordno = 167025] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18670 ,site="UNI " ,extgroupunique="445UC " where recordno = 167025" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167025] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167025" nrows=1 ===================================================== aline=[18671 ,960UNI ,,VRT ,,UNI ,,18671 ,960UC ,,VRT ,,UNI , ] OldExtn=[18671 ] OldExtnGroup=[960UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18671 ] NewExtnGroup=[960UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18671 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18671 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18671 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18671 " deleterecordno nrows=No Counting Dir entry for Oldextn 18671 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "960UNI " AND extension = 18671 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18671 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18671 " deleterecordno nrows=No Moving Dir entry for Oldextn 18671 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18671 and fgroup != "V"" handleOld() recordno=164107 surname=.ASSIGNED firstname= extension=18671 site=UNI extgroupunique=960UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18671 ,site="UNI " ,extgroupunique="960UC " where recordno = 164107] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18671 ,site="UNI " ,extgroupunique="960UC " where recordno = 164107" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164107] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164107" nrows=1 ===================================================== aline=[18672 ,411UNI ,,VRT ,,UNI ,,18672 ,411UC ,,VRT ,,UNI , ] OldExtn=[18672 ] OldExtnGroup=[411UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18672 ] NewExtnGroup=[411UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18672 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18672 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18672 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18672 " deleterecordno nrows=No Counting Dir entry for Oldextn 18672 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "411UNI " AND extension = 18672 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18672 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18672 " deleterecordno nrows=No Moving Dir entry for Oldextn 18672 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18672 and fgroup != "V"" handleOld() recordno=164108 surname=HOLLAND firstname=NICOLA extension=18672 site=UNI extgroupunique=411UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18672 ,site="UNI " ,extgroupunique="411UC " where recordno = 164108] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18672 ,site="UNI " ,extgroupunique="411UC " where recordno = 164108" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164108] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164108" nrows=1 ===================================================== aline=[18673 ,445UNI ,,VRT ,,UNI ,,18673 ,445UC ,,VRT ,,UNI , ] OldExtn=[18673 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18673 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18673 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18673 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18673 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18673 " deleterecordno nrows=No Counting Dir entry for Oldextn 18673 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18673 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18673 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18673 " deleterecordno nrows=No Moving Dir entry for Oldextn 18673 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18673 and fgroup != "V"" handleOld() recordno=167905 surname=SAM firstname=CRES extension=18673 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18673 ,site="UNI " ,extgroupunique="445UC " where recordno = 167905] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18673 ,site="UNI " ,extgroupunique="445UC " where recordno = 167905" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167905] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167905" nrows=1 ===================================================== aline=[18674 ,966UNI ,,VRT ,,UNI ,,18674 ,966UC ,,VRT ,,UNI , ] OldExtn=[18674 ] OldExtnGroup=[966UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18674 ] NewExtnGroup=[966UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18674 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18674 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18674 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18674 " deleterecordno nrows=No Counting Dir entry for Oldextn 18674 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "966UNI " AND extension = 18674 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18674 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18674 " deleterecordno nrows=No Moving Dir entry for Oldextn 18674 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18674 and fgroup != "V"" handleOld() recordno=164110 surname=STRAUBE firstname=SANTINA extension=18674 site=UNI extgroupunique=966UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18674 ,site="UNI " ,extgroupunique="966UC " where recordno = 164110] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18674 ,site="UNI " ,extgroupunique="966UC " where recordno = 164110" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164110] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164110" nrows=1 ===================================================== aline=[18675 ,603UNI ,,VRT ,,UNI ,,18675 ,603UC ,,VRT ,,UNI , ] OldExtn=[18675 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18675 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18675 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18675 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18675 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18675 " deleterecordno nrows=No Counting Dir entry for Oldextn 18675 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18675 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18675 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18675 " deleterecordno nrows=No Moving Dir entry for Oldextn 18675 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18675 and fgroup != "V"" handleOld() recordno=164111 surname=MARSH firstname=BRADLEY extension=18675 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18675 ,site="UNI " ,extgroupunique="603UC " where recordno = 164111] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18675 ,site="UNI " ,extgroupunique="603UC " where recordno = 164111" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164111] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164111" nrows=1 ===================================================== aline=[18676 ,408UNI ,,VRT ,,UNI ,,18676 ,408UC ,,VRT ,,UNI , ] OldExtn=[18676 ] OldExtnGroup=[408UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18676 ] NewExtnGroup=[408UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18676 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18676 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18676 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18676 " deleterecordno nrows=No Counting Dir entry for Oldextn 18676 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "408UNI " AND extension = 18676 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18676 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18676 " deleterecordno nrows=No Moving Dir entry for Oldextn 18676 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18676 and fgroup != "V"" handleOld() recordno=164112 surname=RACOVALIS firstname=MARIA extension=18676 site=UNI extgroupunique=408UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18676 ,site="UNI " ,extgroupunique="408UC " where recordno = 164112] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18676 ,site="UNI " ,extgroupunique="408UC " where recordno = 164112" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164112] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164112" nrows=1 ===================================================== aline=[18677 ,580UNI ,,VRT ,,UNI ,,18677 ,580UC ,,VRT ,,UNI , ] OldExtn=[18677 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18677 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18677 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18677 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18677 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18677 " deleterecordno nrows=No Counting Dir entry for Oldextn 18677 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18677 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18677 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18677 " deleterecordno nrows=No Moving Dir entry for Oldextn 18677 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18677 and fgroup != "V"" handleOld() recordno=164113 surname=MOHAMMADI firstname=NIMA extension=18677 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18677 ,site="UNI " ,extgroupunique="580UC " where recordno = 164113] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18677 ,site="UNI " ,extgroupunique="580UC " where recordno = 164113" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164113] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164113" nrows=1 ===================================================== aline=[18678 ,665UNI ,,VRT ,,UNI ,,18678 ,665UC ,,VRT ,,UNI , ] OldExtn=[18678 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18678 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18678 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18678 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18678 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18678 " deleterecordno nrows=No Counting Dir entry for Oldextn 18678 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18678 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18678 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18678 " deleterecordno nrows=No Moving Dir entry for Oldextn 18678 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18678 and fgroup != "V"" handleOld() recordno=169431 surname=SCICLUNA firstname=JOE extension=18678 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18678 ,site="UNI " ,extgroupunique="665UC " where recordno = 169431] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18678 ,site="UNI " ,extgroupunique="665UC " where recordno = 169431" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169431] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169431" nrows=1 ===================================================== aline=[18679 ,960UNI ,,VRT ,,UNI ,,18679 ,960UC ,,VRT ,,UNI , ] OldExtn=[18679 ] OldExtnGroup=[960UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18679 ] NewExtnGroup=[960UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18679 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18679 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18679 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18679 " deleterecordno nrows=No Counting Dir entry for Oldextn 18679 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "960UNI " AND extension = 18679 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18679 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18679 " deleterecordno nrows=No Moving Dir entry for Oldextn 18679 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18679 and fgroup != "V"" handleOld() recordno=164115 surname=.ASSIGNED firstname= extension=18679 site=UNI extgroupunique=960UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18679 ,site="UNI " ,extgroupunique="960UC " where recordno = 164115] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18679 ,site="UNI " ,extgroupunique="960UC " where recordno = 164115" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164115] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164115" nrows=1 ===================================================== aline=[18680 ,775UNI ,,VRT ,,UNI ,,18680 ,775UC ,,VRT ,,UNI , ] OldExtn=[18680 ] OldExtnGroup=[775UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18680 ] NewExtnGroup=[775UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18680 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18680 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18680 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18680 " deleterecordno nrows=No Counting Dir entry for Oldextn 18680 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "775UNI " AND extension = 18680 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "775UNI " AND extension = 18680 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18680 " deleterecordno nrows=No Moving Dir entry for Oldextn 18680 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "775UNI " AND extension = 18680 and fgroup != "V"" handleOld() recordno=167627 surname=PAPAS firstname=TONY extension=18680 site=UNI extgroupunique=775UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18680 ,site="UNI " ,extgroupunique="775UC " where recordno = 167627] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18680 ,site="UNI " ,extgroupunique="775UC " where recordno = 167627" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167627] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167627" nrows=1 ===================================================== aline=[18681 ,582UNI ,,VRT ,,UNI ,,18681 ,582UC ,,VRT ,,UNI , ] OldExtn=[18681 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18681 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18681 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18681 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18681 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18681 " deleterecordno nrows=No Counting Dir entry for Oldextn 18681 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18681 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18681 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18681 " deleterecordno nrows=No Moving Dir entry for Oldextn 18681 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18681 and fgroup != "V"" handleOld() recordno=42526 surname=KERAMARIS firstname=TELIS extension=18681 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18681 ,site="UNI " ,extgroupunique="582UC " where recordno = 42526] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18681 ,site="UNI " ,extgroupunique="582UC " where recordno = 42526" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42526] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42526" nrows=1 ===================================================== aline=[18682 ,UNIVACA ,,VAC ,,UNI ,,18682 ,VACUC,,VAC ,,UNI , ] OldExtn=[18682 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18682 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18682 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18682 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18682 " delete entry for recordno=168391 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 168391" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 168391] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 168391" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 168391" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 168391] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 168391" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 168391" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 168391] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 168391" deleterecordno nrows=1 Counting Dir entry for Oldextn 18682 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18682 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18682 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18683 ,441UNI ,,VRT ,,UNI ,,18683 ,441UC ,,VRT ,,UNI , ] OldExtn=[18683 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18683 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18683 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18683 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18683 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18683 " deleterecordno nrows=No Counting Dir entry for Oldextn 18683 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18683 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18683 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18683 " deleterecordno nrows=No Moving Dir entry for Oldextn 18683 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18683 and fgroup != "V"" handleOld() recordno=164119 surname=SINGH firstname=SURSEN extension=18683 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18683 ,site="UNI " ,extgroupunique="441UC " where recordno = 164119] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18683 ,site="UNI " ,extgroupunique="441UC " where recordno = 164119" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164119] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164119" nrows=1 ===================================================== aline=[18684 ,967UNI ,,VRT ,,UNI ,,18684 ,967UC ,,VRT ,,UNI , ] OldExtn=[18684 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18684 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18684 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18684 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18684 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18684 " deleterecordno nrows=No Counting Dir entry for Oldextn 18684 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18684 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18684 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18684 " deleterecordno nrows=No Moving Dir entry for Oldextn 18684 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18684 and fgroup != "V"" handleOld() recordno=164120 surname=PAUL firstname=WILL extension=18684 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18684 ,site="UNI " ,extgroupunique="967UC " where recordno = 164120] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18684 ,site="UNI " ,extgroupunique="967UC " where recordno = 164120" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164120] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164120" nrows=1 ===================================================== aline=[18685 ,UNIVACA ,,VAC ,,UNI ,,18685 ,VACUC,,VAC ,,UNI , ] OldExtn=[18685 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18685 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18685 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18685 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18685 " delete entry for recordno=164121 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164121" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164121] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164121" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164121" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164121] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164121" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164121" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164121] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164121" deleterecordno nrows=1 Counting Dir entry for Oldextn 18685 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18685 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18685 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18686 ,967UNI ,,VRT ,,UNI ,,18686 ,967UC ,,VRT ,,UNI , ] OldExtn=[18686 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18686 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18686 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18686 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18686 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18686 " deleterecordno nrows=No Counting Dir entry for Oldextn 18686 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18686 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18686 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18686 " deleterecordno nrows=No Moving Dir entry for Oldextn 18686 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18686 and fgroup != "V"" handleOld() recordno=164122 surname=CLARK firstname=ANDREW extension=18686 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18686 ,site="UNI " ,extgroupunique="967UC " where recordno = 164122] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18686 ,site="UNI " ,extgroupunique="967UC " where recordno = 164122" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164122] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164122" nrows=1 ===================================================== aline=[18687 ,UNIVACA ,,VAC ,,UNI ,,18687 ,VACUC,,VAC ,,UNI , ] OldExtn=[18687 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18687 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18687 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18687 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18687 " delete entry for recordno=164123 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164123" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164123] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164123" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164123" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164123] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164123" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164123" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164123] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164123" deleterecordno nrows=1 Counting Dir entry for Oldextn 18687 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18687 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18687 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18688 ,UNIVACA ,,VAC ,,UNI ,,18688 ,VACUC,,VAC ,,UNI , ] OldExtn=[18688 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18688 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18688 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18688 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18688 " delete entry for recordno=164124 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164124" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164124] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164124" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164124" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164124] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164124" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164124" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164124] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164124" deleterecordno nrows=1 Counting Dir entry for Oldextn 18688 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18688 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18688 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18689 ,970UNI ,,VRT ,,UNI ,,18689 ,970UC ,,VRT ,,UNI , ] OldExtn=[18689 ] OldExtnGroup=[970UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18689 ] NewExtnGroup=[970UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18689 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18689 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18689 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18689 " deleterecordno nrows=No Counting Dir entry for Oldextn 18689 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "970UNI " AND extension = 18689 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18689 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18689 " deleterecordno nrows=No Moving Dir entry for Oldextn 18689 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18689 and fgroup != "V"" handleOld() recordno=164125 surname=WHITE firstname=ROB extension=18689 site=UNI extgroupunique=970UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18689 ,site="UNI " ,extgroupunique="970UC " where recordno = 164125] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18689 ,site="UNI " ,extgroupunique="970UC " where recordno = 164125" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164125] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164125" nrows=1 ===================================================== aline=[18690,UNIVACA ,,VAC ,,UNI ,,18690,VACUC,,VAC ,,UNI , ] OldExtn=[18690] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18690] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18690 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18690 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18690 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18690" deleterecordno nrows=No Counting Dir entry for Oldextn 18690 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18690 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18690 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18691 ,408UNI ,,VRT ,,UNI ,,18691 ,408UC ,,VRT ,,UNI , ] OldExtn=[18691 ] OldExtnGroup=[408UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18691 ] NewExtnGroup=[408UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18691 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18691 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18691 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18691 " deleterecordno nrows=No Counting Dir entry for Oldextn 18691 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "408UNI " AND extension = 18691 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18691 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18691 " deleterecordno nrows=No Moving Dir entry for Oldextn 18691 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18691 and fgroup != "V"" handleOld() recordno=164127 surname=COLLIER firstname=DAVID extension=18691 site=UNI extgroupunique=408UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18691 ,site="UNI " ,extgroupunique="408UC " where recordno = 164127] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18691 ,site="UNI " ,extgroupunique="408UC " where recordno = 164127" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164127] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164127" nrows=1 ===================================================== aline=[18692 ,UNIVACA ,,VAC ,,UNI ,,18692 ,VACUC,,VAC ,,UNI , ] OldExtn=[18692 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18692 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18692 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18692 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18692 " delete entry for recordno=164128 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164128" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164128] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164128" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164128" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164128] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164128" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164128" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164128] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164128" deleterecordno nrows=1 Counting Dir entry for Oldextn 18692 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18692 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18692 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18693 ,409UNI ,,VRT ,,UNI ,,18693 ,409UC ,,VRT ,,UNI , ] OldExtn=[18693 ] OldExtnGroup=[409UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18693 ] NewExtnGroup=[409UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18693 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18693 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18693 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18693 " deleterecordno nrows=No Counting Dir entry for Oldextn 18693 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "409UNI " AND extension = 18693 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18693 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18693 " deleterecordno nrows=No Moving Dir entry for Oldextn 18693 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18693 and fgroup != "V"" handleOld() recordno=168281 surname=SIMMONS firstname=NARELLE extension=18693 site=UNI extgroupunique=409UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18693 ,site="UNI " ,extgroupunique="409UC " where recordno = 168281] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18693 ,site="UNI " ,extgroupunique="409UC " where recordno = 168281" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168281] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168281" nrows=1 ===================================================== aline=[18694 ,610UNI ,,VRT ,,UNI ,,18694 ,610UC ,,VRT ,,UNI , ] OldExtn=[18694 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18694 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18694 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18694 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18694 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18694 " deleterecordno nrows=No Counting Dir entry for Oldextn 18694 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18694 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18694 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18694 " deleterecordno nrows=No Moving Dir entry for Oldextn 18694 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18694 and fgroup != "V"" handleOld() recordno=167928 surname=SAVIGE firstname=PHILLIP extension=18694 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18694 ,site="UNI " ,extgroupunique="610UC " where recordno = 167928] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18694 ,site="UNI " ,extgroupunique="610UC " where recordno = 167928" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167928] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167928" nrows=1 ===================================================== aline=[18695 ,UNIVACA ,,VAC ,,UNI ,,18695 ,VACUC,,VAC ,,UNI , ] OldExtn=[18695 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18695 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18695 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18695 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18695 " delete entry for recordno=164131 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 164131" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 164131] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 164131" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 164131" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 164131] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 164131" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 164131" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 164131] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 164131" deleterecordno nrows=1 Counting Dir entry for Oldextn 18695 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18695 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18695 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18696 ,607UNI ,,VRT ,,UNI ,,18696 ,607UC ,,VRT ,,UNI , ] OldExtn=[18696 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18696 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18696 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18696 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18696 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18696 " deleterecordno nrows=No Counting Dir entry for Oldextn 18696 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18696 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18696 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18696 " deleterecordno nrows=No Moving Dir entry for Oldextn 18696 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18696 and fgroup != "V"" handleOld() recordno=164132 surname=LANG firstname=RICHARD extension=18696 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18696 ,site="UNI " ,extgroupunique="607UC " where recordno = 164132] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18696 ,site="UNI " ,extgroupunique="607UC " where recordno = 164132" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164132] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164132" nrows=1 ===================================================== aline=[18697 ,430UNI ,,VRT ,,UNI ,,18697 ,430UC ,,VRT ,,UNI , ] OldExtn=[18697 ] OldExtnGroup=[430UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18697 ] NewExtnGroup=[430UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18697 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18697 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18697 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18697 " deleterecordno nrows=No Counting Dir entry for Oldextn 18697 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "430UNI " AND extension = 18697 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "430UNI " AND extension = 18697 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18697 " deleterecordno nrows=No Moving Dir entry for Oldextn 18697 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "430UNI " AND extension = 18697 and fgroup != "V"" handleOld() recordno=169644 surname=JELBART firstname=HEATHER extension=18697 site=UNI extgroupunique=430UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18697 ,site="UNI " ,extgroupunique="430UC " where recordno = 169644] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18697 ,site="UNI " ,extgroupunique="430UC " where recordno = 169644" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169644] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169644" nrows=1 ===================================================== aline=[18698 ,607UNI ,,VRT ,,UNI ,,18698 ,607UC ,,VRT ,,UNI , ] OldExtn=[18698 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18698 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18698 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18698 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18698 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18698 " deleterecordno nrows=No Counting Dir entry for Oldextn 18698 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18698 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18698 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18698 " deleterecordno nrows=No Moving Dir entry for Oldextn 18698 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18698 and fgroup != "V"" handleOld() recordno=164134 surname=SHOOLMAN firstname=KATHRYN extension=18698 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18698 ,site="UNI " ,extgroupunique="607UC " where recordno = 164134] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18698 ,site="UNI " ,extgroupunique="607UC " where recordno = 164134" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164134] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164134" nrows=1 ===================================================== aline=[18699 ,419UNI ,,VRT ,,UNI ,,18699 ,419UC ,,VRT ,,UNI , ] OldExtn=[18699 ] OldExtnGroup=[419UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18699 ] NewExtnGroup=[419UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18699 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18699 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18699 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18699 " deleterecordno nrows=No Counting Dir entry for Oldextn 18699 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "419UNI " AND extension = 18699 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18699 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18699 " deleterecordno nrows=No Moving Dir entry for Oldextn 18699 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18699 and fgroup != "V"" handleOld() recordno=164135 surname=TWOMEY firstname=AISLING extension=18699 site=UNI extgroupunique=419UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18699 ,site="UNI " ,extgroupunique="419UC " where recordno = 164135] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18699 ,site="UNI " ,extgroupunique="419UC " where recordno = 164135" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164135] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164135" nrows=1 ===================================================== aline=[18700 ,446UNI ,,VRT ,,UNI ,,18700 ,446UC ,,VRT ,,UNI , ] OldExtn=[18700 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18700 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18700 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18700 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18700 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18700 " deleterecordno nrows=No Counting Dir entry for Oldextn 18700 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18700 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18700 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18700 " deleterecordno nrows=No Moving Dir entry for Oldextn 18700 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18700 and fgroup != "V"" handleOld() recordno=150179 surname=BECKWITH firstname=LAURIE extension=18700 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18700 ,site="UNI " ,extgroupunique="446UC " where recordno = 150179] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18700 ,site="UNI " ,extgroupunique="446UC " where recordno = 150179" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 150179] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 150179" nrows=1 ===================================================== aline=[18701 ,165UNI ,,VRT ,,UNI ,,18701 ,165UC ,,VRT ,,UNI , ] OldExtn=[18701 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18701 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18701 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18701 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18701 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18701 " deleterecordno nrows=No Counting Dir entry for Oldextn 18701 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18701 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18701 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18701 " deleterecordno nrows=No Moving Dir entry for Oldextn 18701 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18701 and fgroup != "V"" handleOld() recordno=149136 surname=HOLLOWAY firstname=JOHN extension=18701 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18701 ,site="UNI " ,extgroupunique="165UC " where recordno = 149136] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18701 ,site="UNI " ,extgroupunique="165UC " where recordno = 149136" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149136] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149136" nrows=1 ===================================================== aline=[18702 ,444UNI ,,VRT ,,UNI ,,18702 ,444UC ,,VRT ,,UNI , ] OldExtn=[18702 ] OldExtnGroup=[444UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18702 ] NewExtnGroup=[444UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18702 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18702 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18702 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18702 " deleterecordno nrows=No Counting Dir entry for Oldextn 18702 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "444UNI " AND extension = 18702 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18702 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18702 " deleterecordno nrows=No Moving Dir entry for Oldextn 18702 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18702 and fgroup != "V"" handleOld() recordno=100752 surname=VUONG firstname=LESLEY extension=18702 site=UNI extgroupunique=444UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18702 ,site="UNI " ,extgroupunique="444UC " where recordno = 100752] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18702 ,site="UNI " ,extgroupunique="444UC " where recordno = 100752" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 100752] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 100752" nrows=1 ===================================================== aline=[18703 ,165UNI ,,VRT ,,UNI ,,18703 ,165UC ,,VRT ,,UNI , ] OldExtn=[18703 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18703 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18703 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18703 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18703 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18703 " deleterecordno nrows=No Counting Dir entry for Oldextn 18703 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18703 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18703 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18703 " deleterecordno nrows=No Moving Dir entry for Oldextn 18703 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18703 and fgroup != "V"" handleOld() recordno=146211 surname=KLEMKE firstname=PAUL extension=18703 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18703 ,site="UNI " ,extgroupunique="165UC " where recordno = 146211] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18703 ,site="UNI " ,extgroupunique="165UC " where recordno = 146211" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 146211] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 146211" nrows=1 ===================================================== aline=[18704 ,582UNI ,,VRT ,,UNI ,,18704 ,582UC ,,VRT ,,UNI , ] OldExtn=[18704 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18704 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18704 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18704 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18704 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18704 " deleterecordno nrows=No Counting Dir entry for Oldextn 18704 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18704 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18704 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18704 " deleterecordno nrows=No Moving Dir entry for Oldextn 18704 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18704 and fgroup != "V"" handleOld() recordno=114089 surname=WACHTER firstname=MARK extension=18704 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18704 ,site="UNI " ,extgroupunique="582UC " where recordno = 114089] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18704 ,site="UNI " ,extgroupunique="582UC " where recordno = 114089" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 114089] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 114089" nrows=1 ===================================================== aline=[18705 ,446UNI ,,VRT ,,UNI ,,18705 ,446UC ,,VRT ,,UNI , ] OldExtn=[18705 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18705 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18705 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18705 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18705 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18705 " deleterecordno nrows=No Counting Dir entry for Oldextn 18705 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18705 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18705 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18705 " deleterecordno nrows=No Moving Dir entry for Oldextn 18705 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18705 and fgroup != "V"" handleOld() recordno=126928 surname=TADROS firstname=RUDY extension=18705 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18705 ,site="UNI " ,extgroupunique="446UC " where recordno = 126928] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18705 ,site="UNI " ,extgroupunique="446UC " where recordno = 126928" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 126928] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 126928" nrows=1 ===================================================== aline=[18706,UNIVACA ,,VAC ,,UNI ,,18706,VACUC,,VAC ,,UNI , ] OldExtn=[18706] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18706] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18706 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18706 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18706 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18706" deleterecordno nrows=No Counting Dir entry for Oldextn 18706 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18706 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18706 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18707 ,446UNI ,,VRT ,,UNI ,,18707 ,446UC ,,VRT ,,UNI , ] OldExtn=[18707 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18707 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18707 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18707 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18707 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18707 " deleterecordno nrows=No Counting Dir entry for Oldextn 18707 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18707 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18707 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18707 " deleterecordno nrows=No Moving Dir entry for Oldextn 18707 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18707 and fgroup != "V"" handleOld() recordno=42525 surname=MITCHELL firstname=PETA extension=18707 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18707 ,site="UNI " ,extgroupunique="446UC " where recordno = 42525] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18707 ,site="UNI " ,extgroupunique="446UC " where recordno = 42525" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42525] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 42525" nrows=1 ===================================================== aline=[18708 ,165UNI ,,VRT ,,UNI ,,18708 ,165UC ,,VRT ,,UNI , ] OldExtn=[18708 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18708 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18708 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18708 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18708 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18708 " deleterecordno nrows=No Counting Dir entry for Oldextn 18708 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18708 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18708 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18708 " deleterecordno nrows=No Moving Dir entry for Oldextn 18708 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18708 and fgroup != "V"" handleOld() recordno=118503 surname=VILLANI firstname=CON extension=18708 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18708 ,site="UNI " ,extgroupunique="165UC " where recordno = 118503] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18708 ,site="UNI " ,extgroupunique="165UC " where recordno = 118503" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 118503] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 118503" nrows=1 ===================================================== aline=[18709 ,446UNI ,,VRT ,,UNI ,,18709 ,446UC ,,VRT ,,UNI , ] OldExtn=[18709 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18709 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18709 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18709 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18709 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18709 " deleterecordno nrows=No Counting Dir entry for Oldextn 18709 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18709 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18709 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18709 " deleterecordno nrows=No Moving Dir entry for Oldextn 18709 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18709 and fgroup != "V"" handleOld() recordno=128547 surname=ZOU firstname=HUBERT extension=18709 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18709 ,site="UNI " ,extgroupunique="446UC " where recordno = 128547] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18709 ,site="UNI " ,extgroupunique="446UC " where recordno = 128547" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 128547] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 128547" nrows=1 ===================================================== aline=[18710 ,UNIVACA ,,VAC ,,UNI ,,18710 ,VACUC,,VAC ,,UNI , ] OldExtn=[18710 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18710 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18710 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18710 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18710 " delete entry for recordno=149616 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 149616" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 149616] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 149616" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 149616" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 149616] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 149616" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 149616" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 149616] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 149616" deleterecordno nrows=1 Counting Dir entry for Oldextn 18710 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18710 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18710 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18711 ,961UNI ,,VRT ,,UNI ,,18711 ,961UC ,,VRT ,,UNI , ] OldExtn=[18711 ] OldExtnGroup=[961UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18711 ] NewExtnGroup=[961UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18711 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18711 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18711 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18711 " deleterecordno nrows=No Counting Dir entry for Oldextn 18711 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "961UNI " AND extension = 18711 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18711 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18711 " deleterecordno nrows=No Moving Dir entry for Oldextn 18711 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "961UNI " AND extension = 18711 and fgroup != "V"" handleOld() recordno=166592 surname=DAMJANOVIC firstname=VESNA extension=18711 site=UNI extgroupunique=961UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18711 ,site="UNI " ,extgroupunique="961UC " where recordno = 166592] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18711 ,site="UNI " ,extgroupunique="961UC " where recordno = 166592" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166592] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166592" nrows=1 ===================================================== aline=[18712 ,607UNI ,,VRT ,,UNI ,,18712 ,607UC ,,VRT ,,UNI , ] OldExtn=[18712 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18712 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18712 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18712 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18712 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18712 " deleterecordno nrows=No Counting Dir entry for Oldextn 18712 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18712 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18712 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18712 " deleterecordno nrows=No Moving Dir entry for Oldextn 18712 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18712 and fgroup != "V"" handleOld() recordno=149017 surname=BARTON firstname=MATTHEW extension=18712 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18712 ,site="UNI " ,extgroupunique="607UC " where recordno = 149017] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18712 ,site="UNI " ,extgroupunique="607UC " where recordno = 149017" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149017] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149017" nrows=1 ===================================================== aline=[18713 ,578UNI ,,VRT ,,UNI ,,18713 ,578UC ,,VRT ,,UNI , ] OldExtn=[18713 ] OldExtnGroup=[578UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18713 ] NewExtnGroup=[578UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18713 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18713 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18713 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18713 " deleterecordno nrows=No Counting Dir entry for Oldextn 18713 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "578UNI " AND extension = 18713 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18713 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18713 " deleterecordno nrows=No Moving Dir entry for Oldextn 18713 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18713 and fgroup != "V"" handleOld() recordno=122895 surname=PARISSIS firstname=HARRY extension=18713 site=UNI extgroupunique=578UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18713 ,site="UNI " ,extgroupunique="578UC " where recordno = 122895] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18713 ,site="UNI " ,extgroupunique="578UC " where recordno = 122895" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 122895] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 122895" nrows=1 ===================================================== aline=[18714 ,165UNI ,,VRT ,,UNI ,,18714 ,165UC ,,VRT ,,UNI , ] OldExtn=[18714 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18714 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18714 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18714 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18714 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18714 " deleterecordno nrows=No Counting Dir entry for Oldextn 18714 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18714 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18714 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18714 " deleterecordno nrows=No Moving Dir entry for Oldextn 18714 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18714 and fgroup != "V"" handleOld() recordno=126043 surname=PAYET firstname=ANDY extension=18714 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18714 ,site="UNI " ,extgroupunique="165UC " where recordno = 126043] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18714 ,site="UNI " ,extgroupunique="165UC " where recordno = 126043" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 126043] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 126043" nrows=1 ===================================================== aline=[18715 ,165UNI ,,VRT ,,UNI ,,18715 ,165UC ,,VRT ,,UNI , ] OldExtn=[18715 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18715 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18715 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18715 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18715 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18715 " deleterecordno nrows=No Counting Dir entry for Oldextn 18715 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18715 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18715 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18715 " deleterecordno nrows=No Moving Dir entry for Oldextn 18715 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18715 and fgroup != "V"" handleOld() recordno=124150 surname=MARSDEN firstname=GEOFF extension=18715 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18715 ,site="UNI " ,extgroupunique="165UC " where recordno = 124150] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18715 ,site="UNI " ,extgroupunique="165UC " where recordno = 124150" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 124150] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 124150" nrows=1 ===================================================== aline=[18716 ,578UNI ,,VRT ,,UNI ,,18716 ,578UC ,,VRT ,,UNI , ] OldExtn=[18716 ] OldExtnGroup=[578UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18716 ] NewExtnGroup=[578UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18716 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18716 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18716 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18716 " deleterecordno nrows=No Counting Dir entry for Oldextn 18716 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "578UNI " AND extension = 18716 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18716 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18716 " deleterecordno nrows=No Moving Dir entry for Oldextn 18716 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18716 and fgroup != "V"" handleOld() recordno=145901 surname=SARASWAT firstname=VANDANA extension=18716 site=UNI extgroupunique=578UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18716 ,site="UNI " ,extgroupunique="578UC " where recordno = 145901] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18716 ,site="UNI " ,extgroupunique="578UC " where recordno = 145901" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 145901] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 145901" nrows=1 ===================================================== aline=[18717 ,418UNI ,,VRT ,,UNI ,,18717 ,418UC ,,VRT ,,UNI , ] OldExtn=[18717 ] OldExtnGroup=[418UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18717 ] NewExtnGroup=[418UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18717 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18717 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18717 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18717 " deleterecordno nrows=No Counting Dir entry for Oldextn 18717 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "418UNI " AND extension = 18717 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18717 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18717 " deleterecordno nrows=No Moving Dir entry for Oldextn 18717 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18717 and fgroup != "V"" handleOld() recordno=131606 surname=BURNS firstname=REBECCA extension=18717 site=UNI extgroupunique=418UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18717 ,site="UNI " ,extgroupunique="418UC " where recordno = 131606] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18717 ,site="UNI " ,extgroupunique="418UC " where recordno = 131606" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 131606] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 131606" nrows=1 ===================================================== aline=[18718 ,963UNI ,,VRT ,,UNI ,,18718 ,963UC ,,VRT ,,UNI , ] OldExtn=[18718 ] OldExtnGroup=[963UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18718 ] NewExtnGroup=[963UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18718 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18718 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18718 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18718 " deleterecordno nrows=No Counting Dir entry for Oldextn 18718 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "963UNI " AND extension = 18718 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "963UNI " AND extension = 18718 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18718 " deleterecordno nrows=No Moving Dir entry for Oldextn 18718 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "963UNI " AND extension = 18718 and fgroup != "V"" handleOld() recordno=166593 surname=SMITH firstname=JOHN extension=18718 site=UNI extgroupunique=963UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18718 ,site="UNI " ,extgroupunique="963UC " where recordno = 166593] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18718 ,site="UNI " ,extgroupunique="963UC " where recordno = 166593" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166593] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166593" nrows=1 ===================================================== aline=[18719 ,578UNI ,,VRT ,,UNI ,,18719 ,578UC ,,VRT ,,UNI , ] OldExtn=[18719 ] OldExtnGroup=[578UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18719 ] NewExtnGroup=[578UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18719 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18719 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18719 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18719 " deleterecordno nrows=No Counting Dir entry for Oldextn 18719 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "578UNI " AND extension = 18719 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18719 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18719 " deleterecordno nrows=No Moving Dir entry for Oldextn 18719 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18719 and fgroup != "V"" handleOld() recordno=169203 surname=LAI firstname=PEGGY extension=18719 site=UNI extgroupunique=578UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18719 ,site="UNI " ,extgroupunique="578UC " where recordno = 169203] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18719 ,site="UNI " ,extgroupunique="578UC " where recordno = 169203" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169203] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169203" nrows=1 ===================================================== aline=[18720 ,UNIVACA ,,VAC ,,UNI ,,18720 ,VACUC,,VAC ,,UNI , ] OldExtn=[18720 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18720 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18720 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18720 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18720 " delete entry for recordno=166594 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166594" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166594] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166594" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166594" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166594] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166594" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166594" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166594] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166594" deleterecordno nrows=1 Counting Dir entry for Oldextn 18720 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18720 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18720 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18721 ,UNIVACA ,,VAC ,,UNI ,,18721 ,VACUC,,VAC ,,UNI , ] OldExtn=[18721 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18721 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18721 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18721 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18721 " delete entry for recordno=166595 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166595" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166595] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166595" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166595" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166595] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166595" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166595" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166595] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166595" deleterecordno nrows=1 Counting Dir entry for Oldextn 18721 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18721 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18721 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18722 ,966UNI ,,VRT ,,UNI ,,18722 ,966UC ,,VRT ,,UNI , ] OldExtn=[18722 ] OldExtnGroup=[966UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18722 ] NewExtnGroup=[966UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18722 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18722 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18722 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18722 " deleterecordno nrows=No Counting Dir entry for Oldextn 18722 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "966UNI " AND extension = 18722 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18722 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18722 " deleterecordno nrows=No Moving Dir entry for Oldextn 18722 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "966UNI " AND extension = 18722 and fgroup != "V"" handleOld() recordno=166601 surname=.ASSIGNED firstname= extension=18722 site=UNI extgroupunique=966UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18722 ,site="UNI " ,extgroupunique="966UC " where recordno = 166601] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18722 ,site="UNI " ,extgroupunique="966UC " where recordno = 166601" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166601] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166601" handleOld() recordno=168245 surname=SOJEVIC firstname=STEVAN extension=18722 site=UNI extgroupunique=966UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18722 ,site="UNI " ,extgroupunique="966UC " where recordno = 168245] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18722 ,site="UNI " ,extgroupunique="966UC " where recordno = 168245" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168245] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168245" nrows=2 ===================================================== aline=[18723 ,418UNI ,,VRT ,,UNI ,,18723 ,418UC ,,VRT ,,UNI , ] OldExtn=[18723 ] OldExtnGroup=[418UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18723 ] NewExtnGroup=[418UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18723 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18723 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18723 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18723 " deleterecordno nrows=No Counting Dir entry for Oldextn 18723 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "418UNI " AND extension = 18723 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18723 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18723 " deleterecordno nrows=No Moving Dir entry for Oldextn 18723 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18723 and fgroup != "V"" handleOld() recordno=168238 surname=ENSER firstname=CARL extension=18723 site=UNI extgroupunique=418UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18723 ,site="UNI " ,extgroupunique="418UC " where recordno = 168238] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18723 ,site="UNI " ,extgroupunique="418UC " where recordno = 168238" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168238] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168238" nrows=1 ===================================================== aline=[18724 ,418UNI ,,VRT ,,UNI ,,18724 ,418UC ,,VRT ,,UNI , ] OldExtn=[18724 ] OldExtnGroup=[418UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18724 ] NewExtnGroup=[418UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18724 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18724 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18724 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18724 " deleterecordno nrows=No Counting Dir entry for Oldextn 18724 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "418UNI " AND extension = 18724 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18724 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18724 " deleterecordno nrows=No Moving Dir entry for Oldextn 18724 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "418UNI " AND extension = 18724 and fgroup != "V"" handleOld() recordno=151172 surname=MCCARTHY firstname=KATE extension=18724 site=UNI extgroupunique=418UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18724 ,site="UNI " ,extgroupunique="418UC " where recordno = 151172] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18724 ,site="UNI " ,extgroupunique="418UC " where recordno = 151172" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 151172] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 151172" nrows=1 ===================================================== aline=[18725 ,UNIVACA ,,VAC ,,UNI ,,18725 ,VACUC,,VAC ,,UNI , ] OldExtn=[18725 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18725 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18725 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18725 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18725 " delete entry for recordno=135231 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 135231" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 135231] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 135231" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 135231" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 135231] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 135231" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 135231" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 135231] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 135231" deleterecordno nrows=1 Counting Dir entry for Oldextn 18725 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18725 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18725 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18726 ,607UNI ,,VRT ,,UNI ,,18726 ,607UC ,,VRT ,,UNI , ] OldExtn=[18726 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18726 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18726 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18726 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18726 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18726 " deleterecordno nrows=No Counting Dir entry for Oldextn 18726 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18726 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18726 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18726 " deleterecordno nrows=No Moving Dir entry for Oldextn 18726 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18726 and fgroup != "V"" handleOld() recordno=128246 surname=HARTLEY firstname=ANDREW extension=18726 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18726 ,site="UNI " ,extgroupunique="607UC " where recordno = 128246] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18726 ,site="UNI " ,extgroupunique="607UC " where recordno = 128246" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 128246] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 128246" nrows=1 ===================================================== aline=[18727 ,603UNI ,,VRT ,,UNI ,,18727 ,603UC ,,VRT ,,UNI , ] OldExtn=[18727 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18727 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18727 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18727 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18727 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18727 " deleterecordno nrows=No Counting Dir entry for Oldextn 18727 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18727 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18727 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18727 " deleterecordno nrows=No Moving Dir entry for Oldextn 18727 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18727 and fgroup != "V"" handleOld() recordno=166597 surname=BROWNE firstname=ANNE extension=18727 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18727 ,site="UNI " ,extgroupunique="603UC " where recordno = 166597] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18727 ,site="UNI " ,extgroupunique="603UC " where recordno = 166597" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166597] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166597" nrows=1 ===================================================== aline=[18728 ,580UNI ,,VRT ,,UNI ,,18728 ,580UC ,,VRT ,,UNI , ] OldExtn=[18728 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18728 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18728 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18728 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18728 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18728 " deleterecordno nrows=No Counting Dir entry for Oldextn 18728 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18728 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18728 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18728 " deleterecordno nrows=No Moving Dir entry for Oldextn 18728 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18728 and fgroup != "V"" handleOld() recordno=145902 surname=MELO firstname=FABIAN extension=18728 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18728 ,site="UNI " ,extgroupunique="580UC " where recordno = 145902] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18728 ,site="UNI " ,extgroupunique="580UC " where recordno = 145902" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 145902] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 145902" nrows=1 ===================================================== aline=[18729 ,580UNI ,,VRT ,,UNI ,,18729 ,580UC ,,VRT ,,UNI , ] OldExtn=[18729 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18729 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18729 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18729 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18729 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18729 " deleterecordno nrows=No Counting Dir entry for Oldextn 18729 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18729 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18729 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18729 " deleterecordno nrows=No Moving Dir entry for Oldextn 18729 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18729 and fgroup != "V"" handleOld() recordno=168857 surname=FARROKHNAZAR firstname=FARID extension=18729 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18729 ,site="UNI " ,extgroupunique="580UC " where recordno = 168857] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18729 ,site="UNI " ,extgroupunique="580UC " where recordno = 168857" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168857] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168857" nrows=1 ===================================================== aline=[18730 ,580UNI ,,VRT ,,UNI ,,18730 ,580UC ,,VRT ,,UNI , ] OldExtn=[18730 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18730 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18730 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18730 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18730 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18730 " deleterecordno nrows=No Counting Dir entry for Oldextn 18730 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18730 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18730 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18730 " deleterecordno nrows=No Moving Dir entry for Oldextn 18730 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18730 and fgroup != "V"" handleOld() recordno=119398 surname=KAMEL firstname=AMIR extension=18730 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18730 ,site="UNI " ,extgroupunique="580UC " where recordno = 119398] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18730 ,site="UNI " ,extgroupunique="580UC " where recordno = 119398" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 119398] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 119398" nrows=1 ===================================================== aline=[18731 ,UNIVACA ,,VAC ,,UNI ,,18731 ,VACUC,,VAC ,,UNI , ] OldExtn=[18731 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18731 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18731 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18731 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18731 " delete entry for recordno=114701 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 114701" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 114701] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 114701" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 114701" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 114701] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 114701" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 114701" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 114701] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 114701" deleterecordno nrows=1 Counting Dir entry for Oldextn 18731 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18731 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18731 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18732 ,UNIVACA ,,VAC ,,UNI ,,18732 ,VACUC,,VAC ,,UNI , ] OldExtn=[18732 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18732 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18732 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18732 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18732 " delete entry for recordno=101710 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 101710" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 101710] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 101710" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 101710" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 101710] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 101710" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 101710" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 101710] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 101710" deleterecordno nrows=1 Counting Dir entry for Oldextn 18732 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18732 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18732 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18733 ,441UNI ,,VRT ,,UNI ,,18733 ,441UC ,,VRT ,,UNI , ] OldExtn=[18733 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18733 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18733 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18733 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18733 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18733 " deleterecordno nrows=No Counting Dir entry for Oldextn 18733 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18733 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18733 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18733 " deleterecordno nrows=No Moving Dir entry for Oldextn 18733 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18733 and fgroup != "V"" handleOld() recordno=145903 surname=KARADAGLI firstname=SENNUR extension=18733 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18733 ,site="UNI " ,extgroupunique="441UC " where recordno = 145903] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18733 ,site="UNI " ,extgroupunique="441UC " where recordno = 145903" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 145903] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 145903" nrows=1 ===================================================== aline=[18734 ,818UNI ,,VRT ,,UNI ,,18734 ,818UC ,,VRT ,,UNI , ] OldExtn=[18734 ] OldExtnGroup=[818UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18734 ] NewExtnGroup=[818UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18734 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18734 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18734 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18734 " deleterecordno nrows=No Counting Dir entry for Oldextn 18734 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "818UNI " AND extension = 18734 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "818UNI " AND extension = 18734 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18734 " deleterecordno nrows=No Moving Dir entry for Oldextn 18734 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "818UNI " AND extension = 18734 and fgroup != "V"" handleOld() recordno=134691 surname=HILL firstname=ANTHONY extension=18734 site=UNI extgroupunique=818UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18734 ,site="UNI " ,extgroupunique="818UC " where recordno = 134691] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18734 ,site="UNI " ,extgroupunique="818UC " where recordno = 134691" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 134691] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 134691" nrows=1 ===================================================== aline=[18735 ,UNIVACA ,,VAC ,,UNI ,,18735 ,VACUC,,VAC ,,UNI , ] OldExtn=[18735 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18735 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18735 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18735 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18735 " delete entry for recordno=100754 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 100754" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 100754] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 100754" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 100754" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 100754] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 100754" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 100754" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 100754] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 100754" deleterecordno nrows=1 Counting Dir entry for Oldextn 18735 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18735 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18735 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18736 ,482UNI ,,VRT ,,UNI ,,18736 ,482UC ,,VRT ,,UNI , ] OldExtn=[18736 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18736 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18736 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18736 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18736 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18736 " deleterecordno nrows=No Counting Dir entry for Oldextn 18736 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18736 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18736 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18736 " deleterecordno nrows=No Moving Dir entry for Oldextn 18736 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18736 and fgroup != "V"" handleOld() recordno=102560 surname=SILVER firstname=RONALD extension=18736 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18736 ,site="UNI " ,extgroupunique="482UC " where recordno = 102560] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18736 ,site="UNI " ,extgroupunique="482UC " where recordno = 102560" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 102560] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 102560" nrows=1 ===================================================== aline=[18737 ,165UNI ,,VRT ,,UNI ,,18737 ,165UC ,,VRT ,,UNI , ] OldExtn=[18737 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18737 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18737 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18737 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18737 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18737 " deleterecordno nrows=No Counting Dir entry for Oldextn 18737 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18737 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18737 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18737 " deleterecordno nrows=No Moving Dir entry for Oldextn 18737 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18737 and fgroup != "V"" handleOld() recordno=166585 surname=MARCELLINO firstname=RINO extension=18737 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18737 ,site="UNI " ,extgroupunique="165UC " where recordno = 166585] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18737 ,site="UNI " ,extgroupunique="165UC " where recordno = 166585" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166585] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166585" nrows=1 ===================================================== aline=[18738 ,UNIVACA ,,VAC ,,UNI ,,18738 ,VACUC,,VAC ,,UNI , ] OldExtn=[18738 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18738 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18738 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18738 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18738 " delete entry for recordno=135233 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 135233" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 135233] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 135233" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 135233" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 135233] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 135233" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 135233" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 135233] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 135233" deleterecordno nrows=1 Counting Dir entry for Oldextn 18738 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18738 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18738 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18739 ,UNIVACA ,,VAC ,,UNI ,,18739 ,VACUC,,VAC ,,UNI , ] OldExtn=[18739 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18739 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18739 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18739 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18739 " delete entry for recordno=100755 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 100755" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 100755] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 100755" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 100755" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 100755] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 100755" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 100755" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 100755] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 100755" deleterecordno nrows=1 Counting Dir entry for Oldextn 18739 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18739 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18739 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18740 ,580UNI ,,VRT ,,UNI ,,18740 ,580UC ,,VRT ,,UNI , ] OldExtn=[18740 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18740 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18740 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18740 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18740 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18740 " deleterecordno nrows=No Counting Dir entry for Oldextn 18740 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18740 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18740 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18740 " deleterecordno nrows=No Moving Dir entry for Oldextn 18740 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18740 and fgroup != "V"" handleOld() recordno=129382 surname=PLOUMIDIS firstname=KYRA extension=18740 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18740 ,site="UNI " ,extgroupunique="580UC " where recordno = 129382] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18740 ,site="UNI " ,extgroupunique="580UC " where recordno = 129382" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 129382] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 129382" nrows=1 ===================================================== aline=[18741 ,611UNI ,,VRT ,,UNI ,,18741 ,611UC ,,VRT ,,UNI , ] OldExtn=[18741 ] OldExtnGroup=[611UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18741 ] NewExtnGroup=[611UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18741 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18741 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18741 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18741 " deleterecordno nrows=No Counting Dir entry for Oldextn 18741 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "611UNI " AND extension = 18741 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18741 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18741 " deleterecordno nrows=No Moving Dir entry for Oldextn 18741 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "611UNI " AND extension = 18741 and fgroup != "V"" handleOld() recordno=169081 surname=ROAKE firstname=JIM extension=18741 site=UNI extgroupunique=611UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18741 ,site="UNI " ,extgroupunique="611UC " where recordno = 169081] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18741 ,site="UNI " ,extgroupunique="611UC " where recordno = 169081" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169081] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169081" nrows=1 ===================================================== aline=[18742 ,660UNI ,,VRT ,,UNI ,,18742 ,660UC ,,VRT ,,UNI , ] OldExtn=[18742 ] OldExtnGroup=[660UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18742 ] NewExtnGroup=[660UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18742 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18742 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18742 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18742 " deleterecordno nrows=No Counting Dir entry for Oldextn 18742 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "660UNI " AND extension = 18742 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18742 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18742 " deleterecordno nrows=No Moving Dir entry for Oldextn 18742 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "660UNI " AND extension = 18742 and fgroup != "V"" handleOld() recordno=166586 surname=PEEL firstname=GREGORY extension=18742 site=UNI extgroupunique=660UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18742 ,site="UNI " ,extgroupunique="660UC " where recordno = 166586] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18742 ,site="UNI " ,extgroupunique="660UC " where recordno = 166586" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166586] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166586" nrows=1 ===================================================== aline=[18743 ,UNIVACA ,,VAC ,,UNI ,,18743 ,VACUC,,VAC ,,UNI , ] OldExtn=[18743 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18743 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18743 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18743 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18743 " delete entry for recordno=166587 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166587" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166587] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166587" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166587" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166587] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166587" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166587" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166587] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166587" deleterecordno nrows=1 Counting Dir entry for Oldextn 18743 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18743 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18743 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18744 ,586UNI ,,VRT ,,UNI ,,18744 ,586UC ,,VRT ,,UNI , ] OldExtn=[18744 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18744 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18744 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18744 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18744 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18744 " deleterecordno nrows=No Counting Dir entry for Oldextn 18744 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18744 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18744 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18744 " deleterecordno nrows=No Moving Dir entry for Oldextn 18744 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18744 and fgroup != "V"" handleOld() recordno=116164 surname=GRECA firstname=FRANK extension=18744 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18744 ,site="UNI " ,extgroupunique="586UC " where recordno = 116164] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18744 ,site="UNI " ,extgroupunique="586UC " where recordno = 116164" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 116164] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 116164" nrows=1 ===================================================== aline=[18745 ,165UNI ,,VRT ,,UNI ,,18745 ,165UC ,,VRT ,,UNI , ] OldExtn=[18745 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18745 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18745 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18745 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18745 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18745 " deleterecordno nrows=No Counting Dir entry for Oldextn 18745 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18745 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18745 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18745 " deleterecordno nrows=No Moving Dir entry for Oldextn 18745 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18745 and fgroup != "V"" handleOld() recordno=132207 surname=COOPER firstname=RICK extension=18745 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18745 ,site="UNI " ,extgroupunique="165UC " where recordno = 132207] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18745 ,site="UNI " ,extgroupunique="165UC " where recordno = 132207" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 132207] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 132207" nrows=1 ===================================================== aline=[18746 ,580UNI ,,VRT ,,UNI ,,18746 ,580UC ,,VRT ,,UNI , ] OldExtn=[18746 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18746 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18746 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18746 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18746 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18746 " deleterecordno nrows=No Counting Dir entry for Oldextn 18746 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18746 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18746 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18746 " deleterecordno nrows=No Moving Dir entry for Oldextn 18746 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18746 and fgroup != "V"" handleOld() recordno=168654 surname=KERR firstname=GLENN extension=18746 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18746 ,site="UNI " ,extgroupunique="580UC " where recordno = 168654] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18746 ,site="UNI " ,extgroupunique="580UC " where recordno = 168654" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168654] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168654" nrows=1 ===================================================== aline=[18747 ,UNIVACA ,,VAC ,,UNI ,,18747 ,VACUC,,VAC ,,UNI , ] OldExtn=[18747 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18747 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18747 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18747 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18747 " delete entry for recordno=167889 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 167889" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 167889] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 167889" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 167889" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 167889] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 167889" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 167889" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 167889] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 167889" deleterecordno nrows=1 Counting Dir entry for Oldextn 18747 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18747 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18747 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18748 ,UNIVACA ,,VAC ,,UNI ,,18748 ,VACUC,,VAC ,,UNI , ] OldExtn=[18748 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18748 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18748 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18748 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18748 " delete entry for recordno=166599 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166599" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166599] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166599" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166599" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166599] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166599" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166599" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166599] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166599" deleterecordno nrows=1 Counting Dir entry for Oldextn 18748 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18748 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18748 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18749 ,438UNI ,,VRT ,,UNI ,,18749 ,438UC ,,VRT ,,UNI , ] OldExtn=[18749 ] OldExtnGroup=[438UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18749 ] NewExtnGroup=[438UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18749 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18749 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18749 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18749 " deleterecordno nrows=No Counting Dir entry for Oldextn 18749 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "438UNI " AND extension = 18749 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18749 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18749 " deleterecordno nrows=No Moving Dir entry for Oldextn 18749 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18749 and fgroup != "V"" handleOld() recordno=135234 surname=LI firstname=ROBIN extension=18749 site=UNI extgroupunique=438UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18749 ,site="UNI " ,extgroupunique="438UC " where recordno = 135234] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18749 ,site="UNI " ,extgroupunique="438UC " where recordno = 135234" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135234] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135234" nrows=1 ===================================================== aline=[18750 ,965UNI ,,VRT ,,UNI ,,18750 ,965UC ,,VRT ,,UNI , ] OldExtn=[18750 ] OldExtnGroup=[965UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18750 ] NewExtnGroup=[965UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18750 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18750 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18750 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18750 " deleterecordno nrows=No Counting Dir entry for Oldextn 18750 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "965UNI " AND extension = 18750 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "965UNI " AND extension = 18750 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18750 " deleterecordno nrows=No Moving Dir entry for Oldextn 18750 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "965UNI " AND extension = 18750 and fgroup != "V"" handleOld() recordno=135235 surname=ROWSE firstname=STEPHEN extension=18750 site=UNI extgroupunique=965UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18750 ,site="UNI " ,extgroupunique="965UC " where recordno = 135235] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18750 ,site="UNI " ,extgroupunique="965UC " where recordno = 135235" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135235] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135235" nrows=1 ===================================================== aline=[18751 ,UNIVACA ,,VAC ,,UNI ,,18751 ,VACUC,,VAC ,,UNI , ] OldExtn=[18751 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18751 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18751 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18751 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18751 " delete entry for recordno=145019 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 145019" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 145019] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 145019" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 145019" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 145019] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 145019" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 145019" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 145019] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 145019" deleterecordno nrows=1 Counting Dir entry for Oldextn 18751 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18751 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18751 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18752 ,UNIVACA ,,VAC ,,UNI ,,18752 ,VACUC,,VAC ,,UNI , ] OldExtn=[18752 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18752 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18752 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18752 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18752 " delete entry for recordno=168972 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 168972" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 168972] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 168972" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 168972" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 168972] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 168972" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 168972" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 168972] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 168972" deleterecordno nrows=1 Counting Dir entry for Oldextn 18752 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18752 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18752 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18753 ,UNIVACA ,,VAC ,,UNI ,,18753 ,VACUC,,VAC ,,UNI , ] OldExtn=[18753 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18753 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18753 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18753 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18753 " delete entry for recordno=121106 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 121106" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 121106] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 121106" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 121106" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 121106] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 121106" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 121106" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 121106] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 121106" deleterecordno nrows=1 Counting Dir entry for Oldextn 18753 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18753 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18753 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18754 ,969UNI ,,VRT ,,UNI ,,18754 ,969UC ,,VRT ,,UNI , ] OldExtn=[18754 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18754 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18754 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18754 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18754 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18754 " deleterecordno nrows=No Counting Dir entry for Oldextn 18754 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18754 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18754 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18754 " deleterecordno nrows=No Moving Dir entry for Oldextn 18754 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18754 and fgroup != "V"" handleOld() recordno=127319 surname=WEINBER firstname=JOHN extension=18754 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18754 ,site="UNI " ,extgroupunique="969UC " where recordno = 127319] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18754 ,site="UNI " ,extgroupunique="969UC " where recordno = 127319" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 127319] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 127319" nrows=1 ===================================================== aline=[18755 ,482UNI ,,VRT ,,UNI ,,18755 ,482UC ,,VRT ,,UNI , ] OldExtn=[18755 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18755 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18755 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18755 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18755 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18755 " deleterecordno nrows=No Counting Dir entry for Oldextn 18755 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18755 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18755 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18755 " deleterecordno nrows=No Moving Dir entry for Oldextn 18755 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18755 and fgroup != "V"" handleOld() recordno=107633 surname=SUCKLING firstname=NIGEL extension=18755 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18755 ,site="UNI " ,extgroupunique="482UC " where recordno = 107633] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18755 ,site="UNI " ,extgroupunique="482UC " where recordno = 107633" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 107633] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 107633" nrows=1 ===================================================== aline=[18756 ,407UNI ,,VRT ,,UNI ,,18756 ,407UC ,,VRT ,,UNI , ] OldExtn=[18756 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18756 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18756 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18756 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18756 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18756 " deleterecordno nrows=No Counting Dir entry for Oldextn 18756 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18756 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18756 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18756 " deleterecordno nrows=No Moving Dir entry for Oldextn 18756 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18756 and fgroup != "V"" handleOld() recordno=130108 surname=SELVON firstname=GERARD extension=18756 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18756 ,site="UNI " ,extgroupunique="407UC " where recordno = 130108] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18756 ,site="UNI " ,extgroupunique="407UC " where recordno = 130108" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 130108] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 130108" nrows=1 ===================================================== aline=[18757 ,818UNI ,,VRT ,,UNI ,,18757 ,818UC ,,VRT ,,UNI , ] OldExtn=[18757 ] OldExtnGroup=[818UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18757 ] NewExtnGroup=[818UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18757 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18757 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18757 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18757 " deleterecordno nrows=No Counting Dir entry for Oldextn 18757 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "818UNI " AND extension = 18757 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "818UNI " AND extension = 18757 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18757 " deleterecordno nrows=No Moving Dir entry for Oldextn 18757 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "818UNI " AND extension = 18757 and fgroup != "V"" handleOld() recordno=168148 surname=LAY firstname=CAMERON extension=18757 site=UNI extgroupunique=818UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18757 ,site="UNI " ,extgroupunique="818UC " where recordno = 168148] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18757 ,site="UNI " ,extgroupunique="818UC " where recordno = 168148" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168148] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168148" nrows=1 ===================================================== aline=[18758 ,482UNI ,,VRT ,,UNI ,,18758 ,482UC ,,VRT ,,UNI , ] OldExtn=[18758 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18758 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18758 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18758 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18758 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18758 " deleterecordno nrows=No Counting Dir entry for Oldextn 18758 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18758 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18758 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18758 " deleterecordno nrows=No Moving Dir entry for Oldextn 18758 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18758 and fgroup != "V"" handleOld() recordno=121111 surname=CRONIN firstname=DENIS extension=18758 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18758 ,site="UNI " ,extgroupunique="482UC " where recordno = 121111] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18758 ,site="UNI " ,extgroupunique="482UC " where recordno = 121111" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 121111] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 121111" nrows=1 ===================================================== aline=[18759 ,UNIVACA ,,VAC ,,UNI ,,18759 ,VACUC,,VAC ,,UNI , ] OldExtn=[18759 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18759 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18759 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18759 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18759 " delete entry for recordno=135238 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 135238" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 135238] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 135238" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 135238" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 135238] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 135238" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 135238" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 135238] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 135238" deleterecordno nrows=1 Counting Dir entry for Oldextn 18759 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18759 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18759 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18760 ,580UNI ,,VRT ,,UNI ,,18760 ,580UC ,,VRT ,,UNI , ] OldExtn=[18760 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18760 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18760 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18760 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18760 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18760 " deleterecordno nrows=No Counting Dir entry for Oldextn 18760 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18760 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18760 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18760 " deleterecordno nrows=No Moving Dir entry for Oldextn 18760 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18760 and fgroup != "V"" handleOld() recordno=164106 surname=KHAN firstname=DANISH extension=18760 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18760 ,site="UNI " ,extgroupunique="580UC " where recordno = 164106] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18760 ,site="UNI " ,extgroupunique="580UC " where recordno = 164106" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164106] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164106" nrows=1 ===================================================== aline=[18761 ,445UNI ,,VRT ,,UNI ,,18761 ,445UC ,,VRT ,,UNI , ] OldExtn=[18761 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18761 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18761 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18761 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18761 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18761 " deleterecordno nrows=No Counting Dir entry for Oldextn 18761 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18761 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18761 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18761 " deleterecordno nrows=No Moving Dir entry for Oldextn 18761 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18761 and fgroup != "V"" handleOld() recordno=169693 surname=MISHURA firstname=ANDREW extension=18761 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18761 ,site="UNI " ,extgroupunique="445UC " where recordno = 169693] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18761 ,site="UNI " ,extgroupunique="445UC " where recordno = 169693" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169693] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169693" nrows=1 ===================================================== aline=[18762 ,610UNI ,,VRT ,,UNI ,,18762 ,610UC ,,VRT ,,UNI , ] OldExtn=[18762 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18762 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18762 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18762 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18762 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18762 " deleterecordno nrows=No Counting Dir entry for Oldextn 18762 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18762 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18762 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18762 " deleterecordno nrows=No Moving Dir entry for Oldextn 18762 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18762 and fgroup != "V"" handleOld() recordno=168686 surname=GREEN firstname=IAN extension=18762 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18762 ,site="UNI " ,extgroupunique="610UC " where recordno = 168686] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18762 ,site="UNI " ,extgroupunique="610UC " where recordno = 168686" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168686] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168686" nrows=1 ===================================================== aline=[18763 ,407UNI ,,VRT ,,UNI ,,18763 ,407UC ,,VRT ,,UNI , ] OldExtn=[18763 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18763 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18763 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18763 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18763 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18763 " deleterecordno nrows=No Counting Dir entry for Oldextn 18763 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18763 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18763 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18763 " deleterecordno nrows=No Moving Dir entry for Oldextn 18763 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18763 and fgroup != "V"" handleOld() recordno=121098 surname=.ASSIGNED firstname= extension=18763 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18763 ,site="UNI " ,extgroupunique="407UC " where recordno = 121098] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18763 ,site="UNI " ,extgroupunique="407UC " where recordno = 121098" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 121098] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 121098" nrows=1 ===================================================== aline=[18764 ,UNIVACA ,,VAC ,,UNI ,,18764 ,VACUC,,VAC ,,UNI , ] OldExtn=[18764 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18764 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18764 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18764 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18764 " delete entry for recordno=149015 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 149015" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 149015] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 149015" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 149015" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 149015] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 149015" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 149015" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 149015] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 149015" deleterecordno nrows=1 Counting Dir entry for Oldextn 18764 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18764 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18764 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18765 ,UNIVACA ,,VAC ,,UNI ,,18765 ,VACUC,,VAC ,,UNI , ] OldExtn=[18765 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18765 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18765 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18765 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18765 " delete entry for recordno=121071 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 121071" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 121071] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 121071" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 121071" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 121071] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 121071" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 121071" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 121071] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 121071" deleterecordno nrows=1 Counting Dir entry for Oldextn 18765 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18765 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18765 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18766 ,416UNI ,,VRT ,,UNI ,,18766 ,416UC ,,VRT ,,UNI , ] OldExtn=[18766 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18766 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18766 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18766 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18766 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18766 " deleterecordno nrows=No Counting Dir entry for Oldextn 18766 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18766 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18766 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18766 " deleterecordno nrows=No Moving Dir entry for Oldextn 18766 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18766 and fgroup != "V"" handleOld() recordno=125595 surname=.ASSIGNED firstname= extension=18766 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18766 ,site="UNI " ,extgroupunique="416UC " where recordno = 125595] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18766 ,site="UNI " ,extgroupunique="416UC " where recordno = 125595" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 125595] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 125595" nrows=1 ===================================================== aline=[18767 ,408UNI ,,VRT ,,UNI ,,18767 ,408UC ,,VRT ,,UNI , ] OldExtn=[18767 ] OldExtnGroup=[408UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18767 ] NewExtnGroup=[408UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18767 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18767 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18767 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18767 " deleterecordno nrows=No Counting Dir entry for Oldextn 18767 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "408UNI " AND extension = 18767 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18767 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18767 " deleterecordno nrows=No Moving Dir entry for Oldextn 18767 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18767 and fgroup != "V"" handleOld() recordno=149010 surname=.ASSIGNED firstname= extension=18767 site=UNI extgroupunique=408UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18767 ,site="UNI " ,extgroupunique="408UC " where recordno = 149010] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18767 ,site="UNI " ,extgroupunique="408UC " where recordno = 149010" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149010] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149010" nrows=1 ===================================================== aline=[18768 ,409UNI ,,VRT ,,UNI ,,18768 ,409UC ,,VRT ,,UNI , ] OldExtn=[18768 ] OldExtnGroup=[409UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18768 ] NewExtnGroup=[409UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18768 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18768 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18768 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18768 " deleterecordno nrows=No Counting Dir entry for Oldextn 18768 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "409UNI " AND extension = 18768 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18768 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18768 " deleterecordno nrows=No Moving Dir entry for Oldextn 18768 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "409UNI " AND extension = 18768 and fgroup != "V"" handleOld() recordno=147524 surname=SMITH firstname=MADELYN extension=18768 site=UNI extgroupunique=409UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18768 ,site="UNI " ,extgroupunique="409UC " where recordno = 147524] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18768 ,site="UNI " ,extgroupunique="409UC " where recordno = 147524" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147524] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147524" nrows=1 ===================================================== aline=[18769 ,603UNI ,,VRT ,,UNI ,,18769 ,603UC ,,VRT ,,UNI , ] OldExtn=[18769 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18769 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18769 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18769 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18769 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18769 " deleterecordno nrows=No Counting Dir entry for Oldextn 18769 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18769 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18769 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18769 " deleterecordno nrows=No Moving Dir entry for Oldextn 18769 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18769 and fgroup != "V"" handleOld() recordno=147531 surname=NADARAJAH firstname=SAM extension=18769 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18769 ,site="UNI " ,extgroupunique="603UC " where recordno = 147531] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18769 ,site="UNI " ,extgroupunique="603UC " where recordno = 147531" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147531] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147531" nrows=1 ===================================================== aline=[18770 ,610UNI ,,VRT ,,UNI ,,18770 ,610UC ,,VRT ,,UNI , ] OldExtn=[18770 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18770 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18770 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18770 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18770 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18770 " deleterecordno nrows=No Counting Dir entry for Oldextn 18770 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18770 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18770 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18770 " deleterecordno nrows=No Moving Dir entry for Oldextn 18770 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18770 and fgroup != "V"" handleOld() recordno=147550 surname=PATINO firstname=GINA extension=18770 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18770 ,site="UNI " ,extgroupunique="610UC " where recordno = 147550] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18770 ,site="UNI " ,extgroupunique="610UC " where recordno = 147550" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147550] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147550" nrows=1 ===================================================== aline=[18771 ,603UNI ,,VRT ,,UNI ,,18771 ,603UC ,,VRT ,,UNI , ] OldExtn=[18771 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18771 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18771 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18771 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18771 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18771 " deleterecordno nrows=No Counting Dir entry for Oldextn 18771 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18771 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18771 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18771 " deleterecordno nrows=No Moving Dir entry for Oldextn 18771 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18771 and fgroup != "V"" handleOld() recordno=136004 surname=MALLCOTT firstname=KELLY extension=18771 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18771 ,site="UNI " ,extgroupunique="603UC " where recordno = 136004] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18771 ,site="UNI " ,extgroupunique="603UC " where recordno = 136004" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 136004] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 136004" nrows=1 ===================================================== aline=[18772 ,165UNI ,,VRT ,,UNI ,,18772 ,165UC ,,VRT ,,UNI , ] OldExtn=[18772 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18772 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18772 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18772 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18772 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18772 " deleterecordno nrows=No Counting Dir entry for Oldextn 18772 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18772 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18772 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18772 " deleterecordno nrows=No Moving Dir entry for Oldextn 18772 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18772 and fgroup != "V"" handleOld() recordno=166588 surname=VAGIAS firstname=PETER extension=18772 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18772 ,site="UNI " ,extgroupunique="165UC " where recordno = 166588] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18772 ,site="UNI " ,extgroupunique="165UC " where recordno = 166588" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166588] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166588" nrows=1 ===================================================== aline=[18773 ,UNIVACA ,,VAC ,,UNI ,,18773 ,VACUC,,VAC ,,UNI , ] OldExtn=[18773 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18773 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18773 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18773 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18773 " delete entry for recordno=147528 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 147528" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 147528] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 147528" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 147528" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 147528] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 147528" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 147528" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 147528] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 147528" deleterecordno nrows=1 Counting Dir entry for Oldextn 18773 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18773 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18773 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18774 ,446UNI ,,VRT ,,UNI ,,18774 ,446UC ,,VRT ,,UNI , ] OldExtn=[18774 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18774 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18774 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18774 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18774 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18774 " deleterecordno nrows=No Counting Dir entry for Oldextn 18774 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18774 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18774 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18774 " deleterecordno nrows=No Moving Dir entry for Oldextn 18774 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18774 and fgroup != "V"" handleOld() recordno=166589 surname=PRATYAKSA firstname=DIPTO extension=18774 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18774 ,site="UNI " ,extgroupunique="446UC " where recordno = 166589] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18774 ,site="UNI " ,extgroupunique="446UC " where recordno = 166589" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166589] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166589" nrows=1 ===================================================== aline=[18775 ,UNIVACA ,,VAC ,,UNI ,,18775 ,VACUC,,VAC ,,UNI , ] OldExtn=[18775 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18775 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18775 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18775 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18775 " delete entry for recordno=147562 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 147562" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 147562] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 147562" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 147562" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 147562] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 147562" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 147562" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 147562] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 147562" deleterecordno nrows=1 Counting Dir entry for Oldextn 18775 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18775 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18775 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18776 ,UNIVACA ,,VAC ,,UNI ,,18776 ,VACUC,,VAC ,,UNI , ] OldExtn=[18776 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18776 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18776 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18776 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18776 " delete entry for recordno=127316 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 127316" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 127316] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 127316" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 127316" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 127316] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 127316" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 127316" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 127316] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 127316" deleterecordno nrows=1 Counting Dir entry for Oldextn 18776 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18776 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18776 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18777 ,416UNI ,,VRT ,,UNI ,,18777 ,416UC ,,VRT ,,UNI , ] OldExtn=[18777 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18777 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18777 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18777 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18777 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18777 " deleterecordno nrows=No Counting Dir entry for Oldextn 18777 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18777 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18777 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18777 " deleterecordno nrows=No Moving Dir entry for Oldextn 18777 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18777 and fgroup != "V"" handleOld() recordno=101714 surname=CICCHELLI firstname=LOU extension=18777 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18777 ,site="UNI " ,extgroupunique="416UC " where recordno = 101714] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18777 ,site="UNI " ,extgroupunique="416UC " where recordno = 101714" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101714] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101714" nrows=1 ===================================================== aline=[18778 ,582UNI ,,VRT ,,UNI ,,18778 ,582UC ,,VRT ,,UNI , ] OldExtn=[18778 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18778 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18778 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18778 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18778 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18778 " deleterecordno nrows=No Counting Dir entry for Oldextn 18778 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18778 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18778 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18778 " deleterecordno nrows=No Moving Dir entry for Oldextn 18778 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18778 and fgroup != "V"" handleOld() recordno=167950 surname=BRIDGES firstname=MICHAEL extension=18778 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18778 ,site="UNI " ,extgroupunique="582UC " where recordno = 167950] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18778 ,site="UNI " ,extgroupunique="582UC " where recordno = 167950" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167950] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167950" nrows=1 ===================================================== aline=[18779 ,969UNI ,,VRT ,,UNI ,,18779 ,969UC ,,VRT ,,UNI , ] OldExtn=[18779 ] OldExtnGroup=[969UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18779 ] NewExtnGroup=[969UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18779 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18779 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18779 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18779 " deleterecordno nrows=No Counting Dir entry for Oldextn 18779 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "969UNI " AND extension = 18779 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18779 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18779 " deleterecordno nrows=No Moving Dir entry for Oldextn 18779 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "969UNI " AND extension = 18779 and fgroup != "V"" handleOld() recordno=135241 surname=ZEAIT firstname=MIRELLA extension=18779 site=UNI extgroupunique=969UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18779 ,site="UNI " ,extgroupunique="969UC " where recordno = 135241] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18779 ,site="UNI " ,extgroupunique="969UC " where recordno = 135241" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135241] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135241" nrows=1 ===================================================== aline=[18780 ,578UNI ,,VRT ,,UNI ,,18780 ,578UC ,,VRT ,,UNI , ] OldExtn=[18780 ] OldExtnGroup=[578UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18780 ] NewExtnGroup=[578UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18780 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18780 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18780 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18780 " deleterecordno nrows=No Counting Dir entry for Oldextn 18780 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "578UNI " AND extension = 18780 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18780 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18780 " deleterecordno nrows=No Moving Dir entry for Oldextn 18780 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "578UNI " AND extension = 18780 and fgroup != "V"" handleOld() recordno=135890 surname=BARRETT firstname=ANTHONY extension=18780 site=UNI extgroupunique=578UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18780 ,site="UNI " ,extgroupunique="578UC " where recordno = 135890] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18780 ,site="UNI " ,extgroupunique="578UC " where recordno = 135890" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135890] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135890" nrows=1 ===================================================== aline=[18781 ,663UNI ,,VRT ,,UNI ,,18781 ,663UC ,,VRT ,,UNI , ] OldExtn=[18781 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18781 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18781 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18781 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18781 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18781 " deleterecordno nrows=No Counting Dir entry for Oldextn 18781 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18781 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18781 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18781 " deleterecordno nrows=No Moving Dir entry for Oldextn 18781 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18781 and fgroup != "V"" handleOld() recordno=119320 surname=SPANO firstname=MATT extension=18781 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18781 ,site="UNI " ,extgroupunique="663UC " where recordno = 119320] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18781 ,site="UNI " ,extgroupunique="663UC " where recordno = 119320" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 119320] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 119320" nrows=1 ===================================================== aline=[18782 ,607UNI ,,VRT ,,UNI ,,18782 ,607UC ,,VRT ,,UNI , ] OldExtn=[18782 ] OldExtnGroup=[607UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18782 ] NewExtnGroup=[607UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18782 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18782 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18782 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18782 " deleterecordno nrows=No Counting Dir entry for Oldextn 18782 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "607UNI " AND extension = 18782 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18782 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18782 " deleterecordno nrows=No Moving Dir entry for Oldextn 18782 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "607UNI " AND extension = 18782 and fgroup != "V"" handleOld() recordno=135240 surname=MERRICK firstname=IAN extension=18782 site=UNI extgroupunique=607UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18782 ,site="UNI " ,extgroupunique="607UC " where recordno = 135240] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18782 ,site="UNI " ,extgroupunique="607UC " where recordno = 135240" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135240] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135240" nrows=1 ===================================================== aline=[18783 ,UNIVACA ,,VAC ,,UNI ,,18783 ,VACUC,,VAC ,,UNI , ] OldExtn=[18783 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18783 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18783 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18783 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18783 " delete entry for recordno=133186 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 133186" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 133186] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 133186" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 133186" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 133186] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 133186" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 133186" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 133186] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 133186" deleterecordno nrows=1 Counting Dir entry for Oldextn 18783 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18783 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18783 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18784 ,449UNI ,,VRT ,,UNI ,,18784 ,449UC ,,VRT ,,UNI , ] OldExtn=[18784 ] OldExtnGroup=[449UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18784 ] NewExtnGroup=[449UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18784 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18784 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18784 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18784 " deleterecordno nrows=No Counting Dir entry for Oldextn 18784 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "449UNI " AND extension = 18784 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "449UNI " AND extension = 18784 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18784 " deleterecordno nrows=No Moving Dir entry for Oldextn 18784 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "449UNI " AND extension = 18784 and fgroup != "V"" handleOld() recordno=133003 surname=KIKAS firstname=MARY extension=18784 site=UNI extgroupunique=449UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18784 ,site="UNI " ,extgroupunique="449UC " where recordno = 133003] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18784 ,site="UNI " ,extgroupunique="449UC " where recordno = 133003" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 133003] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 133003" nrows=1 ===================================================== aline=[18785 ,438UNI ,,VRT ,,UNI ,,18785 ,438UC ,,VRT ,,UNI , ] OldExtn=[18785 ] OldExtnGroup=[438UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18785 ] NewExtnGroup=[438UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18785 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18785 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18785 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18785 " deleterecordno nrows=No Counting Dir entry for Oldextn 18785 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "438UNI " AND extension = 18785 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18785 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18785 " deleterecordno nrows=No Moving Dir entry for Oldextn 18785 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18785 and fgroup != "V"" handleOld() recordno=169093 surname=BOUKOS firstname=JIM extension=18785 site=UNI extgroupunique=438UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18785 ,site="UNI " ,extgroupunique="438UC " where recordno = 169093] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18785 ,site="UNI " ,extgroupunique="438UC " where recordno = 169093" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169093] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169093" nrows=1 ===================================================== aline=[18786 ,UNIVACA ,,VAC ,,UNI ,,18786 ,VACUC,,VAC ,,UNI , ] OldExtn=[18786 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18786 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18786 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18786 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18786 " delete entry for recordno=125594 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 125594" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 125594] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 125594" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 125594" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 125594] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 125594" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 125594" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 125594] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 125594" deleterecordno nrows=1 Counting Dir entry for Oldextn 18786 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18786 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18786 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18787 ,960UNI ,,VRT ,,UNI ,,18787 ,960UC ,,VRT ,,UNI , ] OldExtn=[18787 ] OldExtnGroup=[960UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18787 ] NewExtnGroup=[960UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18787 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18787 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18787 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18787 " deleterecordno nrows=No Counting Dir entry for Oldextn 18787 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "960UNI " AND extension = 18787 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18787 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18787 " deleterecordno nrows=No Moving Dir entry for Oldextn 18787 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "960UNI " AND extension = 18787 and fgroup != "V"" handleOld() recordno=132481 surname=ORR firstname=TANIA extension=18787 site=UNI extgroupunique=960UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18787 ,site="UNI " ,extgroupunique="960UC " where recordno = 132481] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18787 ,site="UNI " ,extgroupunique="960UC " where recordno = 132481" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 132481] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 132481" nrows=1 ===================================================== aline=[18788 ,818UNI ,,VRT ,,UNI ,,18788 ,818UC ,,VRT ,,UNI , ] OldExtn=[18788 ] OldExtnGroup=[818UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18788 ] NewExtnGroup=[818UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18788 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18788 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18788 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18788 " deleterecordno nrows=No Counting Dir entry for Oldextn 18788 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "818UNI " AND extension = 18788 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "818UNI " AND extension = 18788 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18788 " deleterecordno nrows=No Moving Dir entry for Oldextn 18788 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "818UNI " AND extension = 18788 and fgroup != "V"" handleOld() recordno=101715 surname=DOUGLAS firstname=ROBYN extension=18788 site=UNI extgroupunique=818UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18788 ,site="UNI " ,extgroupunique="818UC " where recordno = 101715] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18788 ,site="UNI " ,extgroupunique="818UC " where recordno = 101715" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101715] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101715" nrows=1 ===================================================== aline=[18789 ,446UNI ,,VRT ,,UNI ,,18789 ,446UC ,,VRT ,,UNI , ] OldExtn=[18789 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18789 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18789 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18789 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18789 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18789 " deleterecordno nrows=No Counting Dir entry for Oldextn 18789 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18789 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18789 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18789 " deleterecordno nrows=No Moving Dir entry for Oldextn 18789 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18789 and fgroup != "V"" handleOld() recordno=147530 surname=BREE firstname=DAVID extension=18789 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18789 ,site="UNI " ,extgroupunique="446UC " where recordno = 147530] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18789 ,site="UNI " ,extgroupunique="446UC " where recordno = 147530" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147530] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 147530" nrows=1 ===================================================== aline=[18790 ,665UNI ,,VRT ,,UNI ,,18790 ,665UC ,,VRT ,,UNI , ] OldExtn=[18790 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18790 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18790 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18790 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18790 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18790 " deleterecordno nrows=No Counting Dir entry for Oldextn 18790 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18790 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18790 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18790 " deleterecordno nrows=No Moving Dir entry for Oldextn 18790 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18790 and fgroup != "V"" handleOld() recordno=168886 surname=HUSSEIN firstname=NAFISA extension=18790 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18790 ,site="UNI " ,extgroupunique="665UC " where recordno = 168886] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18790 ,site="UNI " ,extgroupunique="665UC " where recordno = 168886" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168886] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168886" nrows=1 ===================================================== aline=[18791 ,580UNI ,,VRT ,,UNI ,,18791 ,580UC ,,VRT ,,UNI , ] OldExtn=[18791 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18791 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18791 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18791 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18791 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18791 " deleterecordno nrows=No Counting Dir entry for Oldextn 18791 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18791 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18791 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18791 " deleterecordno nrows=No Moving Dir entry for Oldextn 18791 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18791 and fgroup != "V"" handleOld() recordno=166590 surname=SHOOLMAN firstname=ALEX extension=18791 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18791 ,site="UNI " ,extgroupunique="580UC " where recordno = 166590] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18791 ,site="UNI " ,extgroupunique="580UC " where recordno = 166590" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166590] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166590" nrows=1 ===================================================== aline=[18792 ,445UNI ,,VRT ,,UNI ,,18792 ,445UC ,,VRT ,,UNI , ] OldExtn=[18792 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18792 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18792 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18792 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18792 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18792 " deleterecordno nrows=No Counting Dir entry for Oldextn 18792 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18792 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18792 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18792 " deleterecordno nrows=No Moving Dir entry for Oldextn 18792 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18792 and fgroup != "V"" handleOld() recordno=149013 surname=CAIN firstname=DAVID extension=18792 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18792 ,site="UNI " ,extgroupunique="445UC " where recordno = 149013] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18792 ,site="UNI " ,extgroupunique="445UC " where recordno = 149013" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149013] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 149013" nrows=1 ===================================================== aline=[18793 ,580UNI ,,VRT ,,UNI ,,18793 ,580UC ,,VRT ,,UNI , ] OldExtn=[18793 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18793 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18793 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18793 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18793 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18793 " deleterecordno nrows=No Counting Dir entry for Oldextn 18793 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18793 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18793 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18793 " deleterecordno nrows=No Moving Dir entry for Oldextn 18793 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18793 and fgroup != "V"" handleOld() recordno=136927 surname=MARK firstname=ELSA extension=18793 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18793 ,site="UNI " ,extgroupunique="580UC " where recordno = 136927] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18793 ,site="UNI " ,extgroupunique="580UC " where recordno = 136927" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 136927] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 136927" nrows=1 ===================================================== aline=[18794 ,580UNI ,,VRT ,,UNI ,,18794 ,580UC ,,VRT ,,UNI , ] OldExtn=[18794 ] OldExtnGroup=[580UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18794 ] NewExtnGroup=[580UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18794 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18794 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18794 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18794 " deleterecordno nrows=No Counting Dir entry for Oldextn 18794 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "580UNI " AND extension = 18794 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18794 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18794 " deleterecordno nrows=No Moving Dir entry for Oldextn 18794 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "580UNI " AND extension = 18794 and fgroup != "V"" handleOld() recordno=150069 surname=IN firstname=HEMARA extension=18794 site=UNI extgroupunique=580UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18794 ,site="UNI " ,extgroupunique="580UC " where recordno = 150069] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18794 ,site="UNI " ,extgroupunique="580UC " where recordno = 150069" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 150069] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 150069" nrows=1 ===================================================== aline=[18795 ,582UNI ,,VRT ,,UNI ,,18795 ,582UC ,,VRT ,,UNI , ] OldExtn=[18795 ] OldExtnGroup=[582UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18795 ] NewExtnGroup=[582UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18795 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18795 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18795 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18795 " deleterecordno nrows=No Counting Dir entry for Oldextn 18795 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "582UNI " AND extension = 18795 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18795 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18795 " deleterecordno nrows=No Moving Dir entry for Oldextn 18795 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "582UNI " AND extension = 18795 and fgroup != "V"" handleOld() recordno=168822 surname=GRASSHAM firstname=ALICE extension=18795 site=UNI extgroupunique=582UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18795 ,site="UNI " ,extgroupunique="582UC " where recordno = 168822] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18795 ,site="UNI " ,extgroupunique="582UC " where recordno = 168822" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168822] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168822" nrows=1 ===================================================== aline=[18796 ,UNIVACA ,,VAC ,,UNI ,,18796 ,VACUC,,VAC ,,UNI , ] OldExtn=[18796 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18796 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18796 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18796 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18796 " delete entry for recordno=135249 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 135249" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 135249] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 135249" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 135249" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 135249] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 135249" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 135249" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 135249] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 135249" deleterecordno nrows=1 Counting Dir entry for Oldextn 18796 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18796 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18796 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18797 ,UNIVACA ,,VAC ,,UNI ,,18797 ,VACUC,,VAC ,,UNI , ] OldExtn=[18797 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18797 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18797 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18797 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18797 " delete entry for recordno=135250 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 135250" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 135250] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 135250" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 135250" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 135250] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 135250" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 135250" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 135250] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 135250" deleterecordno nrows=1 Counting Dir entry for Oldextn 18797 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18797 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18797 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18798 ,165UNI ,,VRT ,,UNI ,,18798 ,165UC ,,VRT ,,UNI , ] OldExtn=[18798 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18798 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18798 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18798 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18798 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18798 " deleterecordno nrows=No Counting Dir entry for Oldextn 18798 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18798 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18798 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18798 " deleterecordno nrows=No Moving Dir entry for Oldextn 18798 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18798 and fgroup != "V"" handleOld() recordno=135251 surname=DAVIS firstname=PETER extension=18798 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18798 ,site="UNI " ,extgroupunique="165UC " where recordno = 135251] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18798 ,site="UNI " ,extgroupunique="165UC " where recordno = 135251" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135251] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135251" nrows=1 ===================================================== aline=[18799 ,665UNI ,,VRT ,,UNI ,,18799 ,665UC ,,VRT ,,UNI , ] OldExtn=[18799 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18799 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18799 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18799 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18799 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18799 " deleterecordno nrows=No Counting Dir entry for Oldextn 18799 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18799 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18799 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18799 " deleterecordno nrows=No Moving Dir entry for Oldextn 18799 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18799 and fgroup != "V"" handleOld() recordno=135252 surname=AYGUN firstname=SULE extension=18799 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18799 ,site="UNI " ,extgroupunique="665UC " where recordno = 135252] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18799 ,site="UNI " ,extgroupunique="665UC " where recordno = 135252" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135252] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135252" nrows=1 ===================================================== aline=[18800 ,UNIVACA ,,VAC ,,UNI ,,18800 ,VACUC,,VAC ,,UNI , ] OldExtn=[18800 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18800 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18800 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18800 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18800 " delete entry for recordno=166603 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166603" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166603] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166603" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166603" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166603] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166603" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166603" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166603] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166603" deleterecordno nrows=1 Counting Dir entry for Oldextn 18800 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18800 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18800 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18801 ,UNIVACA ,,VAC ,,UNI ,,18801 ,VACUC,,VAC ,,UNI , ] OldExtn=[18801 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18801 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18801 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18801 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18801 " delete entry for recordno=166604 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166604" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166604] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166604" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166604" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166604] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166604" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166604" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166604] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166604" deleterecordno nrows=1 Counting Dir entry for Oldextn 18801 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18801 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18801 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18802 ,408UNI ,,VRT ,,UNI ,,18802 ,408UC ,,VRT ,,UNI , ] OldExtn=[18802 ] OldExtnGroup=[408UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18802 ] NewExtnGroup=[408UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18802 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18802 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18802 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18802 " deleterecordno nrows=No Counting Dir entry for Oldextn 18802 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "408UNI " AND extension = 18802 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18802 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18802 " deleterecordno nrows=No Moving Dir entry for Oldextn 18802 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18802 and fgroup != "V"" handleOld() recordno=166605 surname=ALEKSOV firstname=GEORGE extension=18802 site=UNI extgroupunique=408UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18802 ,site="UNI " ,extgroupunique="408UC " where recordno = 166605] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18802 ,site="UNI " ,extgroupunique="408UC " where recordno = 166605" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166605] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166605" nrows=1 ===================================================== aline=[18803 ,665UNI ,,VRT ,,UNI ,,18803 ,665UC ,,VRT ,,UNI , ] OldExtn=[18803 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18803 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18803 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18803 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18803 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18803 " deleterecordno nrows=No Counting Dir entry for Oldextn 18803 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18803 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18803 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18803 " deleterecordno nrows=No Moving Dir entry for Oldextn 18803 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18803 and fgroup != "V"" handleOld() recordno=166606 surname=EDIRIWEERA firstname=CHANDIMA extension=18803 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18803 ,site="UNI " ,extgroupunique="665UC " where recordno = 166606] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18803 ,site="UNI " ,extgroupunique="665UC " where recordno = 166606" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166606] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166606" nrows=1 ===================================================== aline=[18804 ,579UNI ,,VRT ,,UNI ,,18804 ,579UC ,,VRT ,,UNI , ] OldExtn=[18804 ] OldExtnGroup=[579UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18804 ] NewExtnGroup=[579UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18804 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18804 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18804 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18804 " deleterecordno nrows=No Counting Dir entry for Oldextn 18804 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "579UNI " AND extension = 18804 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "579UNI " AND extension = 18804 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18804 " deleterecordno nrows=No Moving Dir entry for Oldextn 18804 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "579UNI " AND extension = 18804 and fgroup != "V"" handleOld() recordno=166607 surname=BOOTH firstname=ANTHONY extension=18804 site=UNI extgroupunique=579UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18804 ,site="UNI " ,extgroupunique="579UC " where recordno = 166607] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18804 ,site="UNI " ,extgroupunique="579UC " where recordno = 166607" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166607] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166607" nrows=1 ===================================================== aline=[18805 ,663UNI ,,VRT ,,UNI ,,18805 ,663UC ,,VRT ,,UNI , ] OldExtn=[18805 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18805 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18805 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18805 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18805 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18805 " deleterecordno nrows=No Counting Dir entry for Oldextn 18805 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18805 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18805 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18805 " deleterecordno nrows=No Moving Dir entry for Oldextn 18805 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18805 and fgroup != "V"" handleOld() recordno=166608 surname=KARAPANDZIC firstname=ALEX extension=18805 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18805 ,site="UNI " ,extgroupunique="663UC " where recordno = 166608] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18805 ,site="UNI " ,extgroupunique="663UC " where recordno = 166608" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166608] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166608" nrows=1 ===================================================== aline=[18806 ,444UNI ,,VRT ,,UNI ,,18806 ,444UC ,,VRT ,,UNI , ] OldExtn=[18806 ] OldExtnGroup=[444UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18806 ] NewExtnGroup=[444UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18806 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18806 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18806 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18806 " deleterecordno nrows=No Counting Dir entry for Oldextn 18806 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "444UNI " AND extension = 18806 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18806 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18806 " deleterecordno nrows=No Moving Dir entry for Oldextn 18806 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18806 and fgroup != "V"" handleOld() recordno=168575 surname=HULONCE firstname=PAUL extension=18806 site=UNI extgroupunique=444UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18806 ,site="UNI " ,extgroupunique="444UC " where recordno = 168575] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18806 ,site="UNI " ,extgroupunique="444UC " where recordno = 168575" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168575] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168575" nrows=1 ===================================================== aline=[18807 ,403UNI ,,VRT ,,UNI ,,18807 ,403UC ,,VRT ,,UNI , ] OldExtn=[18807 ] OldExtnGroup=[403UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18807 ] NewExtnGroup=[403UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18807 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18807 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18807 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18807 " deleterecordno nrows=No Counting Dir entry for Oldextn 18807 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "403UNI " AND extension = 18807 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "403UNI " AND extension = 18807 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18807 " deleterecordno nrows=No Moving Dir entry for Oldextn 18807 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "403UNI " AND extension = 18807 and fgroup != "V"" handleOld() recordno=166610 surname=.ASSIGNED firstname= extension=18807 site=UNI extgroupunique=403UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18807 ,site="UNI " ,extgroupunique="403UC " where recordno = 166610] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18807 ,site="UNI " ,extgroupunique="403UC " where recordno = 166610" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166610] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166610" nrows=1 ===================================================== aline=[18808 ,663UNI ,,VRT ,,UNI ,,18808 ,663UC ,,VRT ,,UNI , ] OldExtn=[18808 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18808 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18808 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18808 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18808 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18808 " deleterecordno nrows=No Counting Dir entry for Oldextn 18808 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18808 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18808 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18808 " deleterecordno nrows=No Moving Dir entry for Oldextn 18808 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18808 and fgroup != "V"" handleOld() recordno=166611 surname=KAUSHIK firstname=RANJANI extension=18808 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18808 ,site="UNI " ,extgroupunique="663UC " where recordno = 166611] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18808 ,site="UNI " ,extgroupunique="663UC " where recordno = 166611" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166611] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166611" nrows=1 ===================================================== aline=[18809 ,665UNI ,,VRT ,,UNI ,,18809 ,665UC ,,VRT ,,UNI , ] OldExtn=[18809 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18809 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18809 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18809 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18809 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18809 " deleterecordno nrows=No Counting Dir entry for Oldextn 18809 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18809 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18809 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18809 " deleterecordno nrows=No Moving Dir entry for Oldextn 18809 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18809 and fgroup != "V"" handleOld() recordno=166613 surname=ABRAHAM firstname=SIMON extension=18809 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18809 ,site="UNI " ,extgroupunique="665UC " where recordno = 166613] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18809 ,site="UNI " ,extgroupunique="665UC " where recordno = 166613" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166613] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166613" nrows=1 ===================================================== aline=[18810 ,411UNI ,,VRT ,,UNI ,,18810 ,411UC ,,VRT ,,UNI , ] OldExtn=[18810 ] OldExtnGroup=[411UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18810 ] NewExtnGroup=[411UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18810 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18810 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18810 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18810 " deleterecordno nrows=No Counting Dir entry for Oldextn 18810 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "411UNI " AND extension = 18810 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18810 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18810 " deleterecordno nrows=No Moving Dir entry for Oldextn 18810 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18810 and fgroup != "V"" handleOld() recordno=166614 surname=MURRAY firstname=JASON extension=18810 site=UNI extgroupunique=411UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18810 ,site="UNI " ,extgroupunique="411UC " where recordno = 166614] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18810 ,site="UNI " ,extgroupunique="411UC " where recordno = 166614" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166614] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166614" nrows=1 ===================================================== aline=[18811 ,446UNI ,,VRT ,,UNI ,,18811 ,446UC ,,VRT ,,UNI , ] OldExtn=[18811 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18811 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18811 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18811 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18811 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18811 " deleterecordno nrows=No Counting Dir entry for Oldextn 18811 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18811 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18811 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18811 " deleterecordno nrows=No Moving Dir entry for Oldextn 18811 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18811 and fgroup != "V"" handleOld() recordno=168885 surname=DUMOVIC firstname=NIK extension=18811 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18811 ,site="UNI " ,extgroupunique="446UC " where recordno = 168885] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18811 ,site="UNI " ,extgroupunique="446UC " where recordno = 168885" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168885] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168885" nrows=1 ===================================================== aline=[18812 ,480UNI ,,VRT ,,UNI ,,18812 ,480UC ,,VRT ,,UNI , ] OldExtn=[18812 ] OldExtnGroup=[480UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18812 ] NewExtnGroup=[480UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18812 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18812 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18812 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18812 " deleterecordno nrows=No Counting Dir entry for Oldextn 18812 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "480UNI " AND extension = 18812 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "480UNI " AND extension = 18812 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18812 " deleterecordno nrows=No Moving Dir entry for Oldextn 18812 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "480UNI " AND extension = 18812 and fgroup != "V"" handleOld() recordno=166616 surname=MARSHALL firstname=JOHN extension=18812 site=UNI extgroupunique=480UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18812 ,site="UNI " ,extgroupunique="480UC " where recordno = 166616] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18812 ,site="UNI " ,extgroupunique="480UC " where recordno = 166616" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166616] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166616" nrows=1 ===================================================== aline=[18813 ,441UNI ,,VRT ,,UNI ,,18813 ,441UC ,,VRT ,,UNI , ] OldExtn=[18813 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18813 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18813 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18813 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18813 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18813 " deleterecordno nrows=No Counting Dir entry for Oldextn 18813 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18813 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18813 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18813 " deleterecordno nrows=No Moving Dir entry for Oldextn 18813 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18813 and fgroup != "V"" handleOld() recordno=166617 surname=FELICISSIMO firstname=LEO extension=18813 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18813 ,site="UNI " ,extgroupunique="441UC " where recordno = 166617] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18813 ,site="UNI " ,extgroupunique="441UC " where recordno = 166617" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166617] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166617" nrows=1 ===================================================== aline=[18814 ,446UNI ,,VRT ,,UNI ,,18814 ,446UC ,,VRT ,,UNI , ] OldExtn=[18814 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18814 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18814 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18814 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18814 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18814 " deleterecordno nrows=No Counting Dir entry for Oldextn 18814 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18814 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18814 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18814 " deleterecordno nrows=No Moving Dir entry for Oldextn 18814 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18814 and fgroup != "V"" handleOld() recordno=166618 surname=MEYER firstname=ROB extension=18814 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18814 ,site="UNI " ,extgroupunique="446UC " where recordno = 166618] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18814 ,site="UNI " ,extgroupunique="446UC " where recordno = 166618" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166618] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166618" nrows=1 ===================================================== aline=[18815 ,416UNI ,,VRT ,,UNI ,,18815 ,416UC ,,VRT ,,UNI , ] OldExtn=[18815 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18815 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18815 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18815 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18815 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18815 " deleterecordno nrows=No Counting Dir entry for Oldextn 18815 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18815 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18815 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18815 " deleterecordno nrows=No Moving Dir entry for Oldextn 18815 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18815 and fgroup != "V"" handleOld() recordno=166619 surname=PARAS firstname=KATERINA extension=18815 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18815 ,site="UNI " ,extgroupunique="416UC " where recordno = 166619] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18815 ,site="UNI " ,extgroupunique="416UC " where recordno = 166619" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166619] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166619" nrows=1 ===================================================== aline=[18816 ,661UNI ,,VRT ,,UNI ,,18816 ,661UC ,,VRT ,,UNI , ] OldExtn=[18816 ] OldExtnGroup=[661UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18816 ] NewExtnGroup=[661UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18816 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18816 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18816 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18816 " deleterecordno nrows=No Counting Dir entry for Oldextn 18816 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "661UNI " AND extension = 18816 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "661UNI " AND extension = 18816 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18816 " deleterecordno nrows=No Moving Dir entry for Oldextn 18816 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "661UNI " AND extension = 18816 and fgroup != "V"" handleOld() recordno=166620 surname=ROBERTS firstname=STEVE extension=18816 site=UNI extgroupunique=661UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18816 ,site="UNI " ,extgroupunique="661UC " where recordno = 166620] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18816 ,site="UNI " ,extgroupunique="661UC " where recordno = 166620" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166620] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166620" nrows=1 ===================================================== aline=[18817 ,407UNI ,,VRT ,,UNI ,,18817 ,407UC ,,VRT ,,UNI , ] OldExtn=[18817 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18817 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18817 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18817 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18817 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18817 " deleterecordno nrows=No Counting Dir entry for Oldextn 18817 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18817 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18817 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18817 " deleterecordno nrows=No Moving Dir entry for Oldextn 18817 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18817 and fgroup != "V"" handleOld() recordno=166621 surname=CAWS firstname=JAMES extension=18817 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18817 ,site="UNI " ,extgroupunique="407UC " where recordno = 166621] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18817 ,site="UNI " ,extgroupunique="407UC " where recordno = 166621" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166621] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166621" nrows=1 ===================================================== aline=[18818 ,482UNI ,,VRT ,,UNI ,,18818 ,482UC ,,VRT ,,UNI , ] OldExtn=[18818 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18818 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18818 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18818 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18818 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18818 " deleterecordno nrows=No Counting Dir entry for Oldextn 18818 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18818 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18818 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18818 " deleterecordno nrows=No Moving Dir entry for Oldextn 18818 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18818 and fgroup != "V"" handleOld() recordno=166806 surname=BARROW firstname=MICHAEL extension=18818 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18818 ,site="UNI " ,extgroupunique="482UC " where recordno = 166806] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18818 ,site="UNI " ,extgroupunique="482UC " where recordno = 166806" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166806] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166806" nrows=1 ===================================================== aline=[18819 ,UNIVACA ,,VAC ,,UNI ,,18819 ,VACUC,,VAC ,,UNI , ] OldExtn=[18819 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18819 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18819 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18819 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18819 " delete entry for recordno=166808 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166808" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166808] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166808" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166808" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166808] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166808" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166808" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166808] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166808" deleterecordno nrows=1 Counting Dir entry for Oldextn 18819 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18819 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18819 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18820 ,665UNI ,,VRT ,,UNI ,,18820 ,665UC ,,VRT ,,UNI , ] OldExtn=[18820 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18820 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18820 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18820 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18820 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18820 " deleterecordno nrows=No Counting Dir entry for Oldextn 18820 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18820 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18820 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18820 " deleterecordno nrows=No Moving Dir entry for Oldextn 18820 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18820 and fgroup != "V"" handleOld() recordno=131038 surname=GOBELJIC firstname=SLADJANA extension=18820 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18820 ,site="UNI " ,extgroupunique="665UC " where recordno = 131038] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18820 ,site="UNI " ,extgroupunique="665UC " where recordno = 131038" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 131038] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 131038" nrows=1 ===================================================== aline=[18821 ,445UNI ,,VRT ,,UNI ,,18821 ,445UC ,,VRT ,,UNI , ] OldExtn=[18821 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18821 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18821 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18821 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18821 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18821 " deleterecordno nrows=No Counting Dir entry for Oldextn 18821 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18821 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18821 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18821 " deleterecordno nrows=No Moving Dir entry for Oldextn 18821 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18821 and fgroup != "V"" handleOld() recordno=166809 surname=ELKHOURY firstname=TONY extension=18821 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18821 ,site="UNI " ,extgroupunique="445UC " where recordno = 166809] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18821 ,site="UNI " ,extgroupunique="445UC " where recordno = 166809" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166809] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166809" nrows=1 ===================================================== aline=[18822 ,586UNI ,,VRT ,,UNI ,,18822 ,586UC ,,VRT ,,UNI , ] OldExtn=[18822 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18822 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18822 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18822 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18822 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18822 " deleterecordno nrows=No Counting Dir entry for Oldextn 18822 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18822 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18822 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18822 " deleterecordno nrows=No Moving Dir entry for Oldextn 18822 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18822 and fgroup != "V"" handleOld() recordno=166625 surname=.ASSIGNED firstname= extension=18822 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18822 ,site="UNI " ,extgroupunique="586UC " where recordno = 166625] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18822 ,site="UNI " ,extgroupunique="586UC " where recordno = 166625" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166625] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166625" nrows=1 ===================================================== aline=[18823 ,407UNI ,,VRT ,,UNI ,,18823 ,407UC ,,VRT ,,UNI , ] OldExtn=[18823 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18823 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18823 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18823 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18823 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18823 " deleterecordno nrows=No Counting Dir entry for Oldextn 18823 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18823 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18823 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18823 " deleterecordno nrows=No Moving Dir entry for Oldextn 18823 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18823 and fgroup != "V"" handleOld() recordno=101708 surname=TAYLOR firstname=GARY extension=18823 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18823 ,site="UNI " ,extgroupunique="407UC " where recordno = 101708] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18823 ,site="UNI " ,extgroupunique="407UC " where recordno = 101708" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101708] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101708" nrows=1 ===================================================== aline=[18824 ,UNIVACA ,,VAC ,,UNI ,,18824 ,VACUC,,VAC ,,UNI , ] OldExtn=[18824 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18824 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18824 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18824 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18824 " delete entry for recordno=166626 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166626" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166626] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166626" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166626" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166626] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166626" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166626" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166626] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166626" deleterecordno nrows=1 Counting Dir entry for Oldextn 18824 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18824 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18824 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18825 ,664UNI ,,VRT ,,UNI ,,18825 ,664UC ,,VRT ,,UNI , ] OldExtn=[18825 ] OldExtnGroup=[664UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18825 ] NewExtnGroup=[664UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18825 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18825 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18825 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18825 " deleterecordno nrows=No Counting Dir entry for Oldextn 18825 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "664UNI " AND extension = 18825 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18825 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18825 " deleterecordno nrows=No Moving Dir entry for Oldextn 18825 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "664UNI " AND extension = 18825 and fgroup != "V"" handleOld() recordno=166627 surname=CEN firstname=ALAN extension=18825 site=UNI extgroupunique=664UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18825 ,site="UNI " ,extgroupunique="664UC " where recordno = 166627] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18825 ,site="UNI " ,extgroupunique="664UC " where recordno = 166627" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166627] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166627" nrows=1 ===================================================== aline=[18826 ,UNIVACA ,,VAC ,,UNI ,,18826 ,VACUC,,VAC ,,UNI , ] OldExtn=[18826 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18826 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18826 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18826 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18826 " delete entry for recordno=166628 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166628" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166628] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166628" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166628" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166628] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166628" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166628" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166628] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166628" deleterecordno nrows=1 Counting Dir entry for Oldextn 18826 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18826 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18826 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18827 ,411UNI ,,VRT ,,UNI ,,18827 ,411UC ,,VRT ,,UNI , ] OldExtn=[18827 ] OldExtnGroup=[411UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18827 ] NewExtnGroup=[411UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18827 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18827 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18827 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18827 " deleterecordno nrows=No Counting Dir entry for Oldextn 18827 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "411UNI " AND extension = 18827 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18827 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18827 " deleterecordno nrows=No Moving Dir entry for Oldextn 18827 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "411UNI " AND extension = 18827 and fgroup != "V"" handleOld() recordno=135728 surname=HENSHALL firstname=MAC extension=18827 site=UNI extgroupunique=411UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18827 ,site="UNI " ,extgroupunique="411UC " where recordno = 135728] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18827 ,site="UNI " ,extgroupunique="411UC " where recordno = 135728" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135728] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 135728" nrows=1 ===================================================== aline=[18828 ,UNIVACA ,,VAC ,,UNI ,,18828 ,VACUC,,VAC ,,UNI , ] OldExtn=[18828 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18828 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18828 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18828 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18828 " delete entry for recordno=166810 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166810" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166810] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166810" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166810" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166810] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166810" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166810" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166810] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166810" deleterecordno nrows=1 Counting Dir entry for Oldextn 18828 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18828 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18828 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18829 ,407UNI ,,VRT ,,UNI ,,18829 ,407UC ,,VRT ,,UNI , ] OldExtn=[18829 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18829 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18829 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18829 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18829 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18829 " deleterecordno nrows=No Counting Dir entry for Oldextn 18829 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18829 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18829 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18829 " deleterecordno nrows=No Moving Dir entry for Oldextn 18829 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18829 and fgroup != "V"" handleOld() recordno=115098 surname=LEUNG firstname=KENNETH extension=18829 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18829 ,site="UNI " ,extgroupunique="407UC " where recordno = 115098] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18829 ,site="UNI " ,extgroupunique="407UC " where recordno = 115098" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 115098] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 115098" nrows=1 ===================================================== aline=[18830 ,482UNI ,,VRT ,,UNI ,,18830 ,482UC ,,VRT ,,UNI , ] OldExtn=[18830 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18830 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18830 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18830 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18830 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18830 " deleterecordno nrows=No Counting Dir entry for Oldextn 18830 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18830 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18830 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18830 " deleterecordno nrows=No Moving Dir entry for Oldextn 18830 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18830 and fgroup != "V"" handleOld() recordno=167027 surname=HOGGAN firstname=WAYNE extension=18830 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18830 ,site="UNI " ,extgroupunique="482UC " where recordno = 167027] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18830 ,site="UNI " ,extgroupunique="482UC " where recordno = 167027" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167027] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167027" nrows=1 ===================================================== aline=[18831 ,483UNI ,,VRT ,,UNI ,,18831 ,483UC ,,VRT ,,UNI , ] OldExtn=[18831 ] OldExtnGroup=[483UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18831 ] NewExtnGroup=[483UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18831 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18831 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18831 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18831 " deleterecordno nrows=No Counting Dir entry for Oldextn 18831 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "483UNI " AND extension = 18831 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "483UNI " AND extension = 18831 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18831 " deleterecordno nrows=No Moving Dir entry for Oldextn 18831 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "483UNI " AND extension = 18831 and fgroup != "V"" handleOld() recordno=167557 surname=MILLS firstname=PETER extension=18831 site=UNI extgroupunique=483UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18831 ,site="UNI " ,extgroupunique="483UC " where recordno = 167557] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18831 ,site="UNI " ,extgroupunique="483UC " where recordno = 167557" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167557] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167557" nrows=1 ===================================================== aline=[18832 ,446UNI ,,VRT ,,UNI ,,18832 ,446UC ,,VRT ,,UNI , ] OldExtn=[18832 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18832 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18832 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18832 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18832 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18832 " deleterecordno nrows=No Counting Dir entry for Oldextn 18832 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18832 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18832 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18832 " deleterecordno nrows=No Moving Dir entry for Oldextn 18832 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18832 and fgroup != "V"" handleOld() recordno=166633 surname=JUNEJA firstname=SANDEEP extension=18832 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18832 ,site="UNI " ,extgroupunique="446UC " where recordno = 166633] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18832 ,site="UNI " ,extgroupunique="446UC " where recordno = 166633" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166633] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166633" nrows=1 ===================================================== aline=[18833 ,UNIVACA ,,VAC ,,UNI ,,18833 ,VACUC,,VAC ,,UNI , ] OldExtn=[18833 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18833 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18833 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18833 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18833 " delete entry for recordno=166634 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166634" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166634] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166634" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166634" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166634] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166634" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166634" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166634] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166634" deleterecordno nrows=1 Counting Dir entry for Oldextn 18833 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18833 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18833 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18834 ,445UNI ,,VRT ,,UNI ,,18834 ,445UC ,,VRT ,,UNI , ] OldExtn=[18834 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18834 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18834 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18834 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18834 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18834 " deleterecordno nrows=No Counting Dir entry for Oldextn 18834 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18834 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18834 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18834 " deleterecordno nrows=No Moving Dir entry for Oldextn 18834 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18834 and fgroup != "V"" handleOld() recordno=166635 surname=BELLCHAMBERS firstname=DAVID extension=18834 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18834 ,site="UNI " ,extgroupunique="445UC " where recordno = 166635] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18834 ,site="UNI " ,extgroupunique="445UC " where recordno = 166635" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166635] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166635" nrows=1 ===================================================== aline=[18835 ,419UNI ,,VRT ,,UNI ,,18835 ,419UC ,,VRT ,,UNI , ] OldExtn=[18835 ] OldExtnGroup=[419UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18835 ] NewExtnGroup=[419UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18835 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18835 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18835 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18835 " deleterecordno nrows=No Counting Dir entry for Oldextn 18835 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "419UNI " AND extension = 18835 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18835 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18835 " deleterecordno nrows=No Moving Dir entry for Oldextn 18835 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18835 and fgroup != "V"" handleOld() recordno=101711 surname=POTTS firstname=NAOMI extension=18835 site=UNI extgroupunique=419UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18835 ,site="UNI " ,extgroupunique="419UC " where recordno = 101711] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18835 ,site="UNI " ,extgroupunique="419UC " where recordno = 101711" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101711] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 101711" nrows=1 ===================================================== aline=[18836 ,449UNI ,,VRT ,,UNI ,,18836 ,449UC ,,VRT ,,UNI , ] OldExtn=[18836 ] OldExtnGroup=[449UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18836 ] NewExtnGroup=[449UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18836 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18836 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18836 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18836 " deleterecordno nrows=No Counting Dir entry for Oldextn 18836 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "449UNI " AND extension = 18836 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "449UNI " AND extension = 18836 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18836 " deleterecordno nrows=No Moving Dir entry for Oldextn 18836 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "449UNI " AND extension = 18836 and fgroup != "V"" handleOld() recordno=169405 surname=AGUIRRE firstname=LEO extension=18836 site=UNI extgroupunique=449UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18836 ,site="UNI " ,extgroupunique="449UC " where recordno = 169405] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18836 ,site="UNI " ,extgroupunique="449UC " where recordno = 169405" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169405] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169405" nrows=1 ===================================================== aline=[18837 ,482UNI ,,VRT ,,UNI ,,18837 ,482UC ,,VRT ,,UNI , ] OldExtn=[18837 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18837 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18837 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18837 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18837 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18837 " deleterecordno nrows=No Counting Dir entry for Oldextn 18837 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18837 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18837 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18837 " deleterecordno nrows=No Moving Dir entry for Oldextn 18837 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18837 and fgroup != "V"" handleOld() recordno=166637 surname=VORNG firstname=ANGELA extension=18837 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18837 ,site="UNI " ,extgroupunique="482UC " where recordno = 166637] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18837 ,site="UNI " ,extgroupunique="482UC " where recordno = 166637" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166637] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166637" nrows=1 ===================================================== aline=[18838 ,586UNI ,,VRT ,,UNI ,,18838 ,586UC ,,VRT ,,UNI , ] OldExtn=[18838 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18838 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18838 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18838 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18838 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18838 " deleterecordno nrows=No Counting Dir entry for Oldextn 18838 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18838 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18838 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18838 " deleterecordno nrows=No Moving Dir entry for Oldextn 18838 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18838 and fgroup != "V"" handleOld() recordno=169249 surname=GADRE firstname=RAHUL extension=18838 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18838 ,site="UNI " ,extgroupunique="586UC " where recordno = 169249] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18838 ,site="UNI " ,extgroupunique="586UC " where recordno = 169249" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169249] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169249" nrows=1 ===================================================== aline=[18839 ,UNIVACA ,,VAC ,,UNI ,,18839 ,VACUC,,VAC ,,UNI , ] OldExtn=[18839 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18839 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18839 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18839 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18839 " delete entry for recordno=166639 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166639" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166639] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166639" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166639" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166639] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166639" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166639" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166639] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166639" deleterecordno nrows=1 Counting Dir entry for Oldextn 18839 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18839 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18839 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18840 ,400UNI ,,VRT ,,UNI ,,18840 ,400UC ,,VRT ,,UNI , ] OldExtn=[18840 ] OldExtnGroup=[400UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18840 ] NewExtnGroup=[400UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18840 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18840 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18840 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18840 " deleterecordno nrows=No Counting Dir entry for Oldextn 18840 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "400UNI " AND extension = 18840 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18840 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18840 " deleterecordno nrows=No Moving Dir entry for Oldextn 18840 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18840 and fgroup != "V"" handleOld() recordno=166640 surname=ROSE firstname=CAMPBELL extension=18840 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18840 ,site="UNI " ,extgroupunique="400UC " where recordno = 166640] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18840 ,site="UNI " ,extgroupunique="400UC " where recordno = 166640" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166640] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166640" nrows=1 ===================================================== aline=[18841 ,UNIVACA ,,VAC ,,UNI ,,18841 ,VACUC,,VAC ,,UNI , ] OldExtn=[18841 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18841 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18841 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18841 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18841 " delete entry for recordno=166641 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166641" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166641] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166641" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166641" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166641] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166641" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166641" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166641] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166641" deleterecordno nrows=1 Counting Dir entry for Oldextn 18841 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18841 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18841 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18842 ,408UNI ,,VRT ,,UNI ,,18842 ,408UC ,,VRT ,,UNI , ] OldExtn=[18842 ] OldExtnGroup=[408UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18842 ] NewExtnGroup=[408UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18842 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18842 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18842 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18842 " deleterecordno nrows=No Counting Dir entry for Oldextn 18842 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "408UNI " AND extension = 18842 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18842 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18842 " deleterecordno nrows=No Moving Dir entry for Oldextn 18842 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "408UNI " AND extension = 18842 and fgroup != "V"" handleOld() recordno=168090 surname=HOLOWATY firstname=MARIA extension=18842 site=UNI extgroupunique=408UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18842 ,site="UNI " ,extgroupunique="408UC " where recordno = 168090] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18842 ,site="UNI " ,extgroupunique="408UC " where recordno = 168090" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168090] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168090" nrows=1 ===================================================== aline=[18843 ,UNIVACA ,,VAC ,,UNI ,,18843 ,VACUC,,VAC ,,UNI , ] OldExtn=[18843 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18843 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18843 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18843 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18843 " delete entry for recordno=134704 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 134704" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 134704] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 134704" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 134704" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 134704] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 134704" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 134704" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 134704] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 134704" deleterecordno nrows=1 Counting Dir entry for Oldextn 18843 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18843 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18843 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18844 ,586UNI ,,VRT ,,UNI ,,18844 ,586UC ,,VRT ,,UNI , ] OldExtn=[18844 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18844 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18844 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18844 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18844 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18844 " deleterecordno nrows=No Counting Dir entry for Oldextn 18844 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18844 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18844 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18844 " deleterecordno nrows=No Moving Dir entry for Oldextn 18844 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18844 and fgroup != "V"" handleOld() recordno=166644 surname=PROSSER firstname=ANN extension=18844 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18844 ,site="UNI " ,extgroupunique="586UC " where recordno = 166644] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18844 ,site="UNI " ,extgroupunique="586UC " where recordno = 166644" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166644] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166644" nrows=1 ===================================================== aline=[18845 ,663UNI ,,VRT ,,UNI ,,18845 ,663UC ,,VRT ,,UNI , ] OldExtn=[18845 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18845 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18845 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18845 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18845 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18845 " deleterecordno nrows=No Counting Dir entry for Oldextn 18845 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18845 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18845 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18845 " deleterecordno nrows=No Moving Dir entry for Oldextn 18845 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18845 and fgroup != "V"" handleOld() recordno=166645 surname=PALLARES firstname=JORGE extension=18845 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18845 ,site="UNI " ,extgroupunique="663UC " where recordno = 166645] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18845 ,site="UNI " ,extgroupunique="663UC " where recordno = 166645" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166645] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166645" nrows=1 ===================================================== aline=[18846 ,400UNI ,,VRT ,,UNI ,,18846 ,400UC ,,VRT ,,UNI , ] OldExtn=[18846 ] OldExtnGroup=[400UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18846 ] NewExtnGroup=[400UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18846 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18846 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18846 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18846 " deleterecordno nrows=No Counting Dir entry for Oldextn 18846 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "400UNI " AND extension = 18846 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18846 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18846 " deleterecordno nrows=No Moving Dir entry for Oldextn 18846 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18846 and fgroup != "V"" handleOld() recordno=166646 surname=ANNELLS firstname=BOB extension=18846 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18846 ,site="UNI " ,extgroupunique="400UC " where recordno = 166646] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18846 ,site="UNI " ,extgroupunique="400UC " where recordno = 166646" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166646] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166646" nrows=1 ===================================================== aline=[18847 ,420UNI ,,VRT ,,UNI ,,18847 ,420UC ,,VRT ,,UNI , ] OldExtn=[18847 ] OldExtnGroup=[420UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18847 ] NewExtnGroup=[420UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18847 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18847 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18847 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18847 " deleterecordno nrows=No Counting Dir entry for Oldextn 18847 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "420UNI " AND extension = 18847 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "420UNI " AND extension = 18847 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18847 " deleterecordno nrows=No Moving Dir entry for Oldextn 18847 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "420UNI " AND extension = 18847 and fgroup != "V"" handleOld() recordno=168738 surname=DAVIDSON firstname=IAN extension=18847 site=UNI extgroupunique=420UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18847 ,site="UNI " ,extgroupunique="420UC " where recordno = 168738] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18847 ,site="UNI " ,extgroupunique="420UC " where recordno = 168738" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168738] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168738" nrows=1 ===================================================== aline=[18848 ,UNIVACA ,,VAC ,,UNI ,,18848 ,VACUC,,VAC ,,UNI , ] OldExtn=[18848 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18848 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18848 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18848 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18848 " delete entry for recordno=166863 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166863" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166863] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166863" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166863" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166863] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166863" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166863" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166863] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166863" deleterecordno nrows=1 Counting Dir entry for Oldextn 18848 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18848 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18848 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18849 ,407UNI ,,VRT ,,UNI ,,18849 ,407UC ,,VRT ,,UNI , ] OldExtn=[18849 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18849 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18849 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18849 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18849 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18849 " deleterecordno nrows=No Counting Dir entry for Oldextn 18849 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18849 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18849 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18849 " deleterecordno nrows=No Moving Dir entry for Oldextn 18849 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18849 and fgroup != "V"" handleOld() recordno=166843 surname=SANTANA firstname=ANDY extension=18849 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18849 ,site="UNI " ,extgroupunique="407UC " where recordno = 166843] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18849 ,site="UNI " ,extgroupunique="407UC " where recordno = 166843" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166843] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166843" nrows=1 ===================================================== aline=[18850 ,UNIVACA ,,VAC ,,UNI ,,18850 ,VACUC,,VAC ,,UNI , ] OldExtn=[18850 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18850 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18850 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18850 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18850 " delete entry for recordno=166847 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166847" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166847] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166847" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166847" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166847] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166847" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166847" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166847] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166847" deleterecordno nrows=1 Counting Dir entry for Oldextn 18850 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18850 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18850 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18851 ,400UNI ,,VRT ,,UNI ,,18851 ,400UC ,,VRT ,,UNI , ] OldExtn=[18851 ] OldExtnGroup=[400UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18851 ] NewExtnGroup=[400UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18851 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18851 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18851 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18851 " deleterecordno nrows=No Counting Dir entry for Oldextn 18851 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "400UNI " AND extension = 18851 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18851 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18851 " deleterecordno nrows=No Moving Dir entry for Oldextn 18851 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18851 and fgroup != "V"" handleOld() recordno=166650 surname=.ASSIGNED firstname=CHIEF EXEC extension=18851 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18851 ,site="UNI " ,extgroupunique="400UC " where recordno = 166650] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18851 ,site="UNI " ,extgroupunique="400UC " where recordno = 166650" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166650] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166650" nrows=1 ===================================================== aline=[18852 ,UNIVACA ,,VAC ,,UNI ,,18852 ,VACUC,,VAC ,,UNI , ] OldExtn=[18852 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18852 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18852 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18852 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18852 " delete entry for recordno=166651 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166651" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166651] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166651" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166651" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166651] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166651" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166651" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166651] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166651" deleterecordno nrows=1 Counting Dir entry for Oldextn 18852 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18852 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18852 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18853 ,482UNI ,,VRT ,,UNI ,,18853 ,482UC ,,VRT ,,UNI , ] OldExtn=[18853 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18853 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18853 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18853 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18853 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18853 " deleterecordno nrows=No Counting Dir entry for Oldextn 18853 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18853 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18853 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18853 " deleterecordno nrows=No Moving Dir entry for Oldextn 18853 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18853 and fgroup != "V"" handleOld() recordno=168600 surname=ATTAMIMI firstname=RAMONA extension=18853 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18853 ,site="UNI " ,extgroupunique="482UC " where recordno = 168600] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18853 ,site="UNI " ,extgroupunique="482UC " where recordno = 168600" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168600] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168600" nrows=1 ===================================================== aline=[18854 ,482UNI ,,VRT ,,UNI ,,18854 ,482UC ,,VRT ,,UNI , ] OldExtn=[18854 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18854 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18854 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18854 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18854 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18854 " deleterecordno nrows=No Counting Dir entry for Oldextn 18854 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18854 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18854 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18854 " deleterecordno nrows=No Moving Dir entry for Oldextn 18854 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18854 and fgroup != "V"" handleOld() recordno=166653 surname=.ASSIGNED firstname= extension=18854 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18854 ,site="UNI " ,extgroupunique="482UC " where recordno = 166653] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18854 ,site="UNI " ,extgroupunique="482UC " where recordno = 166653" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166653] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166653" nrows=1 ===================================================== aline=[18855 ,416UNI ,,VRT ,,UNI ,,18855 ,416UC ,,VRT ,,UNI , ] OldExtn=[18855 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18855 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18855 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18855 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18855 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18855 " deleterecordno nrows=No Counting Dir entry for Oldextn 18855 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18855 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18855 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18855 " deleterecordno nrows=No Moving Dir entry for Oldextn 18855 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18855 and fgroup != "V"" handleOld() recordno=167479 surname=JESUDASAN firstname=ALLEN extension=18855 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18855 ,site="UNI " ,extgroupunique="416UC " where recordno = 167479] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18855 ,site="UNI " ,extgroupunique="416UC " where recordno = 167479" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167479] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167479" nrows=1 ===================================================== aline=[18856 ,446UNI ,,VRT ,,UNI ,,18856 ,446UC ,,VRT ,,UNI , ] OldExtn=[18856 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18856 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18856 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18856 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18856 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18856 " deleterecordno nrows=No Counting Dir entry for Oldextn 18856 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18856 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18856 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18856 " deleterecordno nrows=No Moving Dir entry for Oldextn 18856 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18856 and fgroup != "V"" handleOld() recordno=166655 surname=WILLEMS firstname=TONY extension=18856 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18856 ,site="UNI " ,extgroupunique="446UC " where recordno = 166655] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18856 ,site="UNI " ,extgroupunique="446UC " where recordno = 166655" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166655] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166655" nrows=1 ===================================================== aline=[18857 ,UNIVACA ,,VAC ,,UNI ,,18857 ,VACUC,,VAC ,,UNI , ] OldExtn=[18857 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18857 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18857 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18857 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18857 " delete entry for recordno=166656 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166656" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166656] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166656" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166656" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166656] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166656" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166656" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166656] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166656" deleterecordno nrows=1 Counting Dir entry for Oldextn 18857 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18857 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18857 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18858 ,612UNI ,,VRT ,,UNI ,,18858 ,612UC ,,VRT ,,UNI , ] OldExtn=[18858 ] OldExtnGroup=[612UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18858 ] NewExtnGroup=[612UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18858 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18858 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18858 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18858 " deleterecordno nrows=No Counting Dir entry for Oldextn 18858 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "612UNI " AND extension = 18858 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "612UNI " AND extension = 18858 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18858 " deleterecordno nrows=No Moving Dir entry for Oldextn 18858 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "612UNI " AND extension = 18858 and fgroup != "V"" handleOld() recordno=168737 surname=HIGGINS firstname=MAX extension=18858 site=UNI extgroupunique=612UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18858 ,site="UNI " ,extgroupunique="612UC " where recordno = 168737] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18858 ,site="UNI " ,extgroupunique="612UC " where recordno = 168737" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168737] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168737" nrows=1 ===================================================== aline=[18859 ,446UNI ,,VRT ,,UNI ,,18859 ,446UC ,,VRT ,,UNI , ] OldExtn=[18859 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18859 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18859 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18859 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18859 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18859 " deleterecordno nrows=No Counting Dir entry for Oldextn 18859 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18859 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18859 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18859 " deleterecordno nrows=No Moving Dir entry for Oldextn 18859 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18859 and fgroup != "V"" handleOld() recordno=166658 surname=MANSFIELD firstname=SHANE extension=18859 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18859 ,site="UNI " ,extgroupunique="446UC " where recordno = 166658] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18859 ,site="UNI " ,extgroupunique="446UC " where recordno = 166658" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166658] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166658" nrows=1 ===================================================== aline=[18860 ,UNIVACA ,,VAC ,,UNI ,,18860 ,VACUC,,VAC ,,UNI , ] OldExtn=[18860 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18860 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18860 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18860 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18860 " delete entry for recordno=166659 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166659" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166659] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166659" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166659" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166659] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166659" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166659" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166659] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166659" deleterecordno nrows=1 Counting Dir entry for Oldextn 18860 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18860 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18860 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18861 ,407UNI ,,VRT ,,UNI ,,18861 ,407UC ,,VRT ,,UNI , ] OldExtn=[18861 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18861 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18861 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18861 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18861 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18861 " deleterecordno nrows=No Counting Dir entry for Oldextn 18861 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18861 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18861 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18861 " deleterecordno nrows=No Moving Dir entry for Oldextn 18861 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18861 and fgroup != "V"" handleOld() recordno=166660 surname=MORGAN firstname=MICHAEL extension=18861 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18861 ,site="UNI " ,extgroupunique="407UC " where recordno = 166660] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18861 ,site="UNI " ,extgroupunique="407UC " where recordno = 166660" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166660] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166660" nrows=1 ===================================================== aline=[18862 ,419UNI ,,VRT ,,UNI ,,18862 ,419UC ,,VRT ,,UNI , ] OldExtn=[18862 ] OldExtnGroup=[419UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18862 ] NewExtnGroup=[419UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18862 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18862 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18862 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18862 " deleterecordno nrows=No Counting Dir entry for Oldextn 18862 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "419UNI " AND extension = 18862 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18862 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18862 " deleterecordno nrows=No Moving Dir entry for Oldextn 18862 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "419UNI " AND extension = 18862 and fgroup != "V"" handleOld() recordno=168975 surname=SHEPPARD firstname=GRAHAM extension=18862 site=UNI extgroupunique=419UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18862 ,site="UNI " ,extgroupunique="419UC " where recordno = 168975] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18862 ,site="UNI " ,extgroupunique="419UC " where recordno = 168975" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168975] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168975" nrows=1 ===================================================== aline=[18863 ,403UNI ,,VRT ,,UNI ,,18863 ,403UC ,,VRT ,,UNI , ] OldExtn=[18863 ] OldExtnGroup=[403UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18863 ] NewExtnGroup=[403UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18863 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18863 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18863 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18863 " deleterecordno nrows=No Counting Dir entry for Oldextn 18863 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "403UNI " AND extension = 18863 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "403UNI " AND extension = 18863 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18863 " deleterecordno nrows=No Moving Dir entry for Oldextn 18863 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "403UNI " AND extension = 18863 and fgroup != "V"" handleOld() recordno=166662 surname=TILLY firstname=DONNA extension=18863 site=UNI extgroupunique=403UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18863 ,site="UNI " ,extgroupunique="403UC " where recordno = 166662] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18863 ,site="UNI " ,extgroupunique="403UC " where recordno = 166662" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166662] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166662" nrows=1 ===================================================== aline=[18864 ,586UNI ,,VRT ,,UNI ,,18864 ,586UC ,,VRT ,,UNI , ] OldExtn=[18864 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18864 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18864 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18864 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18864 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18864 " deleterecordno nrows=No Counting Dir entry for Oldextn 18864 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18864 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18864 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18864 " deleterecordno nrows=No Moving Dir entry for Oldextn 18864 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18864 and fgroup != "V"" handleOld() recordno=168814 surname=SIPIN firstname=KRISTIAN extension=18864 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18864 ,site="UNI " ,extgroupunique="586UC " where recordno = 168814] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18864 ,site="UNI " ,extgroupunique="586UC " where recordno = 168814" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168814] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168814" nrows=1 ===================================================== aline=[18865 ,482UNI ,,VRT ,,UNI ,,18865 ,482UC ,,VRT ,,UNI , ] OldExtn=[18865 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18865 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18865 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18865 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18865 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18865 " deleterecordno nrows=No Counting Dir entry for Oldextn 18865 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18865 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18865 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18865 " deleterecordno nrows=No Moving Dir entry for Oldextn 18865 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18865 and fgroup != "V"" handleOld() recordno=166664 surname=STAFFORD firstname=EAMON extension=18865 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18865 ,site="UNI " ,extgroupunique="482UC " where recordno = 166664] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18865 ,site="UNI " ,extgroupunique="482UC " where recordno = 166664" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166664] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166664" nrows=1 ===================================================== aline=[18866 ,UNIVACA ,,VAC ,,UNI ,,18866 ,VACUC,,VAC ,,UNI , ] OldExtn=[18866 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18866 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18866 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18866 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18866 " delete entry for recordno=166665 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166665" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166665] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166665" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166665" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166665] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166665" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166665" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166665] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166665" deleterecordno nrows=1 Counting Dir entry for Oldextn 18866 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18866 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18866 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18867 ,441UNI ,,VRT ,,UNI ,,18867 ,441UC ,,VRT ,,UNI , ] OldExtn=[18867 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18867 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18867 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18867 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18867 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18867 " deleterecordno nrows=No Counting Dir entry for Oldextn 18867 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18867 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18867 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18867 " deleterecordno nrows=No Moving Dir entry for Oldextn 18867 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18867 and fgroup != "V"" handleOld() recordno=166805 surname=MCGILLIVRAY firstname=BRETT extension=18867 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18867 ,site="UNI " ,extgroupunique="441UC " where recordno = 166805] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18867 ,site="UNI " ,extgroupunique="441UC " where recordno = 166805" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166805] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166805" nrows=1 ===================================================== aline=[18868 ,441UNI ,,VRT ,,UNI ,,18868 ,441UC ,,VRT ,,UNI , ] OldExtn=[18868 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18868 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18868 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18868 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18868 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18868 " deleterecordno nrows=No Counting Dir entry for Oldextn 18868 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18868 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18868 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18868 " deleterecordno nrows=No Moving Dir entry for Oldextn 18868 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18868 and fgroup != "V"" handleOld() recordno=168063 surname=SICILY firstname=LEEANNE extension=18868 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18868 ,site="UNI " ,extgroupunique="441UC " where recordno = 168063] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18868 ,site="UNI " ,extgroupunique="441UC " where recordno = 168063" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168063] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168063" nrows=1 ===================================================== aline=[18869 ,400UNI ,,VRT ,,UNI ,,18869 ,400UC ,,VRT ,,UNI , ] OldExtn=[18869 ] OldExtnGroup=[400UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18869 ] NewExtnGroup=[400UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18869 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18869 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18869 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18869 " deleterecordno nrows=No Counting Dir entry for Oldextn 18869 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "400UNI " AND extension = 18869 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18869 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18869 " deleterecordno nrows=No Moving Dir entry for Oldextn 18869 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18869 and fgroup != "V"" handleOld() recordno=166667 surname=.ASSIGNED firstname= extension=18869 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18869 ,site="UNI " ,extgroupunique="400UC " where recordno = 166667] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18869 ,site="UNI " ,extgroupunique="400UC " where recordno = 166667" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166667] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166667" nrows=1 ===================================================== aline=[18870 ,603UNI ,,VRT ,,UNI ,,18870 ,603UC ,,VRT ,,UNI , ] OldExtn=[18870 ] OldExtnGroup=[603UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18870 ] NewExtnGroup=[603UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18870 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18870 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18870 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18870 " deleterecordno nrows=No Counting Dir entry for Oldextn 18870 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "603UNI " AND extension = 18870 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18870 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18870 " deleterecordno nrows=No Moving Dir entry for Oldextn 18870 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "603UNI " AND extension = 18870 and fgroup != "V"" handleOld() recordno=166668 surname=DOWELL firstname=CAROLINE extension=18870 site=UNI extgroupunique=603UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18870 ,site="UNI " ,extgroupunique="603UC " where recordno = 166668] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18870 ,site="UNI " ,extgroupunique="603UC " where recordno = 166668" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166668] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166668" nrows=1 ===================================================== aline=[18871 ,441UNI ,,VRT ,,UNI ,,18871 ,441UC ,,VRT ,,UNI , ] OldExtn=[18871 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18871 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18871 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18871 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18871 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18871 " deleterecordno nrows=No Counting Dir entry for Oldextn 18871 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18871 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18871 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18871 " deleterecordno nrows=No Moving Dir entry for Oldextn 18871 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18871 and fgroup != "V"" handleOld() recordno=166669 surname=BURTON firstname=JO extension=18871 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18871 ,site="UNI " ,extgroupunique="441UC " where recordno = 166669] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18871 ,site="UNI " ,extgroupunique="441UC " where recordno = 166669" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166669] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166669" handleOld() recordno=170280 surname=LAKSMANA firstname=GLENN extension=18871 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18871 ,site="UNI " ,extgroupunique="441UC " where recordno = 170280] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18871 ,site="UNI " ,extgroupunique="441UC " where recordno = 170280" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 170280] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 170280" nrows=2 ===================================================== aline=[18872 ,UNIVACA ,,VAC ,,UNI ,,18872 ,VACUC,,VAC ,,UNI , ] OldExtn=[18872 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18872 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18872 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18872 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18872 " delete entry for recordno=166807 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166807" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166807] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166807" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166807" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166807] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166807" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166807" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166807] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166807" deleterecordno nrows=1 Counting Dir entry for Oldextn 18872 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18872 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18872 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18873 ,UNIVACA ,,VAC ,,UNI ,,18873 ,VACUC,,VAC ,,UNI , ] OldExtn=[18873 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18873 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18873 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18873 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18873 " delete entry for recordno=166671 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 166671" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 166671] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 166671" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 166671" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 166671] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 166671" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 166671" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 166671] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 166671" deleterecordno nrows=1 Counting Dir entry for Oldextn 18873 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18873 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18873 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18874 ,967UNI ,,VRT ,,UNI ,,18874 ,967UC ,,VRT ,,UNI , ] OldExtn=[18874 ] OldExtnGroup=[967UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18874 ] NewExtnGroup=[967UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18874 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18874 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18874 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18874 " deleterecordno nrows=No Counting Dir entry for Oldextn 18874 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "967UNI " AND extension = 18874 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18874 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18874 " deleterecordno nrows=No Moving Dir entry for Oldextn 18874 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "967UNI " AND extension = 18874 and fgroup != "V"" handleOld() recordno=166672 surname=HARRIS firstname=MATT extension=18874 site=UNI extgroupunique=967UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18874 ,site="UNI " ,extgroupunique="967UC " where recordno = 166672] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18874 ,site="UNI " ,extgroupunique="967UC " where recordno = 166672" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166672] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166672" nrows=1 ===================================================== aline=[18875 ,663UNI ,,VRT ,,UNI ,,18875 ,663UC ,,VRT ,,UNI , ] OldExtn=[18875 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18875 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18875 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18875 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18875 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18875 " deleterecordno nrows=No Counting Dir entry for Oldextn 18875 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18875 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18875 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18875 " deleterecordno nrows=No Moving Dir entry for Oldextn 18875 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18875 and fgroup != "V"" handleOld() recordno=166673 surname=HENRIKSEN firstname=PETER extension=18875 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18875 ,site="UNI " ,extgroupunique="663UC " where recordno = 166673] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18875 ,site="UNI " ,extgroupunique="663UC " where recordno = 166673" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166673] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166673" nrows=1 ===================================================== aline=[18876 ,663UNI ,,VRT ,,UNI ,,18876 ,663UC ,,VRT ,,UNI , ] OldExtn=[18876 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18876 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18876 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18876 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18876 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18876 " deleterecordno nrows=No Counting Dir entry for Oldextn 18876 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18876 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18876 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18876 " deleterecordno nrows=No Moving Dir entry for Oldextn 18876 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18876 and fgroup != "V"" handleOld() recordno=164080 surname=KNOWLES firstname=JOHN extension=18876 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18876 ,site="UNI " ,extgroupunique="663UC " where recordno = 164080] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18876 ,site="UNI " ,extgroupunique="663UC " where recordno = 164080" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164080] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 164080" nrows=1 ===================================================== aline=[18877 ,400UNI ,,VRT ,,UNI ,,18877 ,400UC ,,VRT ,,UNI , ] OldExtn=[18877 ] OldExtnGroup=[400UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18877 ] NewExtnGroup=[400UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18877 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18877 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18877 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18877 " deleterecordno nrows=No Counting Dir entry for Oldextn 18877 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "400UNI " AND extension = 18877 and fgroup != "V"" nrows=4 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18877 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18877 " deleterecordno nrows=No Moving Dir entry for Oldextn 18877 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "400UNI " AND extension = 18877 and fgroup != "V"" handleOld() recordno=167310 surname=COHEN firstname=BRUCE extension=18877 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 167310] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 167310" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167310] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167310" handleOld() recordno=166675 surname=LEWIS firstname=LESLEY extension=18877 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 166675] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 166675" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166675] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166675" handleOld() recordno=167311 surname=LOVELL firstname=CHRISTOPHE extension=18877 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 167311] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 167311" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167311] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167311" handleOld() recordno=170746 surname=CAMPBELL firstname=ROSE extension=18877 site=UNI extgroupunique=400UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 170746] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18877 ,site="UNI " ,extgroupunique="400UC " where recordno = 170746" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 170746] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 170746" nrows=4 ===================================================== aline=[18878 ,441UNI ,,VRT ,,UNI ,,18878 ,441UC ,,VRT ,,UNI , ] OldExtn=[18878 ] OldExtnGroup=[441UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18878 ] NewExtnGroup=[441UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18878 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18878 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18878 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18878 " deleterecordno nrows=No Counting Dir entry for Oldextn 18878 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "441UNI " AND extension = 18878 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18878 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18878 " deleterecordno nrows=No Moving Dir entry for Oldextn 18878 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "441UNI " AND extension = 18878 and fgroup != "V"" handleOld() recordno=169204 surname=SURANI firstname=AMIN extension=18878 site=UNI extgroupunique=441UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18878 ,site="UNI " ,extgroupunique="441UC " where recordno = 169204] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18878 ,site="UNI " ,extgroupunique="441UC " where recordno = 169204" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169204] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169204" nrows=1 ===================================================== aline=[18879 ,665UNI ,,VRT ,,UNI ,,18879 ,665UC ,,VRT ,,UNI , ] OldExtn=[18879 ] OldExtnGroup=[665UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18879 ] NewExtnGroup=[665UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18879 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18879 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18879 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18879 " deleterecordno nrows=No Counting Dir entry for Oldextn 18879 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "665UNI " AND extension = 18879 and fgroup != "V"" nrows=2 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18879 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18879 " deleterecordno nrows=No Moving Dir entry for Oldextn 18879 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "665UNI " AND extension = 18879 and fgroup != "V"" handleOld() recordno=166677 surname=.ASSIGNED firstname= extension=18879 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18879 ,site="UNI " ,extgroupunique="665UC " where recordno = 166677] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18879 ,site="UNI " ,extgroupunique="665UC " where recordno = 166677" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166677] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166677" handleOld() recordno=166854 surname=BERTI firstname=JOHN extension=18879 site=UNI extgroupunique=665UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18879 ,site="UNI " ,extgroupunique="665UC " where recordno = 166854] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18879 ,site="UNI " ,extgroupunique="665UC " where recordno = 166854" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166854] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166854" nrows=2 ===================================================== aline=[18880 ,482UNI ,,VRT ,,UNI ,,18880 ,482UC ,,VRT ,,UNI , ] OldExtn=[18880 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18880 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18880 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18880 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18880 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18880 " deleterecordno nrows=No Counting Dir entry for Oldextn 18880 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18880 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18880 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18880 " deleterecordno nrows=No Moving Dir entry for Oldextn 18880 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18880 and fgroup != "V"" handleOld() recordno=166859 surname=PALMER firstname=SHANNON extension=18880 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18880 ,site="UNI " ,extgroupunique="482UC " where recordno = 166859] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18880 ,site="UNI " ,extgroupunique="482UC " where recordno = 166859" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166859] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166859" nrows=1 ===================================================== aline=[18881 ,165UNI ,,VRT ,,UNI ,,18881 ,165UC ,,VRT ,,UNI , ] OldExtn=[18881 ] OldExtnGroup=[165UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18881 ] NewExtnGroup=[165UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18881 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18881 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18881 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18881 " deleterecordno nrows=No Counting Dir entry for Oldextn 18881 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "165UNI " AND extension = 18881 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18881 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18881 " deleterecordno nrows=No Moving Dir entry for Oldextn 18881 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "165UNI " AND extension = 18881 and fgroup != "V"" handleOld() recordno=166679 surname=.ASSIGNED firstname=TELEBRIDGE extension=18881 site=UNI extgroupunique=165UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18881 ,site="UNI " ,extgroupunique="165UC " where recordno = 166679] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18881 ,site="UNI " ,extgroupunique="165UC " where recordno = 166679" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166679] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166679" nrows=1 ===================================================== aline=[18882 ,416UNI ,,VRT ,,UNI ,,18882 ,416UC ,,VRT ,,UNI , ] OldExtn=[18882 ] OldExtnGroup=[416UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18882 ] NewExtnGroup=[416UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18882 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18882 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18882 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18882 " deleterecordno nrows=No Counting Dir entry for Oldextn 18882 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "416UNI " AND extension = 18882 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18882 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18882 " deleterecordno nrows=No Moving Dir entry for Oldextn 18882 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "416UNI " AND extension = 18882 and fgroup != "V"" handleOld() recordno=166680 surname=HETHERINGTON firstname=CATE extension=18882 site=UNI extgroupunique=416UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18882 ,site="UNI " ,extgroupunique="416UC " where recordno = 166680] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18882 ,site="UNI " ,extgroupunique="416UC " where recordno = 166680" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166680] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166680" nrows=1 ===================================================== aline=[18883 ,438UNI ,,VRT ,,UNI ,,18883 ,438UC ,,VRT ,,UNI , ] OldExtn=[18883 ] OldExtnGroup=[438UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18883 ] NewExtnGroup=[438UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18883 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18883 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18883 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18883 " deleterecordno nrows=No Counting Dir entry for Oldextn 18883 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "438UNI " AND extension = 18883 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18883 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18883 " deleterecordno nrows=No Moving Dir entry for Oldextn 18883 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "438UNI " AND extension = 18883 and fgroup != "V"" handleOld() recordno=166861 surname=PRENDERGAST firstname=SUE extension=18883 site=UNI extgroupunique=438UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18883 ,site="UNI " ,extgroupunique="438UC " where recordno = 166861] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18883 ,site="UNI " ,extgroupunique="438UC " where recordno = 166861" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166861] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166861" nrows=1 ===================================================== aline=[18884 ,445UNI ,,VRT ,,UNI ,,18884 ,445UC ,,VRT ,,UNI , ] OldExtn=[18884 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18884 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18884 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18884 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18884 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18884 " deleterecordno nrows=No Counting Dir entry for Oldextn 18884 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18884 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18884 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18884 " deleterecordno nrows=No Moving Dir entry for Oldextn 18884 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18884 and fgroup != "V"" handleOld() recordno=166682 surname=COELHO firstname=KARL extension=18884 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18884 ,site="UNI " ,extgroupunique="445UC " where recordno = 166682] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18884 ,site="UNI " ,extgroupunique="445UC " where recordno = 166682" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166682] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166682" nrows=1 ===================================================== aline=[18885 ,617UNI ,,VRT ,,UNI ,,18885 ,617UC ,,VRT ,,UNI , ] OldExtn=[18885 ] OldExtnGroup=[617UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18885 ] NewExtnGroup=[617UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18885 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18885 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18885 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18885 " deleterecordno nrows=No Counting Dir entry for Oldextn 18885 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "617UNI " AND extension = 18885 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "617UNI " AND extension = 18885 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18885 " deleterecordno nrows=No Moving Dir entry for Oldextn 18885 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "617UNI " AND extension = 18885 and fgroup != "V"" handleOld() recordno=167562 surname=SUBASINGHE firstname=SUNIL extension=18885 site=UNI extgroupunique=617UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18885 ,site="UNI " ,extgroupunique="617UC " where recordno = 167562] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18885 ,site="UNI " ,extgroupunique="617UC " where recordno = 167562" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167562] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167562" nrows=1 ===================================================== aline=[18886 ,444UNI ,,VRT ,,UNI ,,18886 ,444UC ,,VRT ,,UNI , ] OldExtn=[18886 ] OldExtnGroup=[444UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18886 ] NewExtnGroup=[444UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18886 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18886 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18886 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18886 " deleterecordno nrows=No Counting Dir entry for Oldextn 18886 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "444UNI " AND extension = 18886 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18886 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18886 " deleterecordno nrows=No Moving Dir entry for Oldextn 18886 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18886 and fgroup != "V"" handleOld() recordno=166684 surname=ROSENWAX firstname=ZOE extension=18886 site=UNI extgroupunique=444UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18886 ,site="UNI " ,extgroupunique="444UC " where recordno = 166684] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18886 ,site="UNI " ,extgroupunique="444UC " where recordno = 166684" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166684] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166684" nrows=1 ===================================================== aline=[18887 ,444UNI ,,VRT ,,UNI ,,18887 ,444UC ,,VRT ,,UNI , ] OldExtn=[18887 ] OldExtnGroup=[444UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18887 ] NewExtnGroup=[444UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18887 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18887 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18887 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18887 " deleterecordno nrows=No Counting Dir entry for Oldextn 18887 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "444UNI " AND extension = 18887 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18887 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18887 " deleterecordno nrows=No Moving Dir entry for Oldextn 18887 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "444UNI " AND extension = 18887 and fgroup != "V"" handleOld() recordno=166685 surname=.ASSIGNED firstname= extension=18887 site=UNI extgroupunique=444UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18887 ,site="UNI " ,extgroupunique="444UC " where recordno = 166685] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18887 ,site="UNI " ,extgroupunique="444UC " where recordno = 166685" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166685] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166685" nrows=1 ===================================================== aline=[18888 ,586UNI ,,VRT ,,UNI ,,18888 ,586UC ,,VRT ,,UNI , ] OldExtn=[18888 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18888 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18888 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18888 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18888 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18888 " deleterecordno nrows=No Counting Dir entry for Oldextn 18888 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18888 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18888 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18888 " deleterecordno nrows=No Moving Dir entry for Oldextn 18888 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18888 and fgroup != "V"" handleOld() recordno=168154 surname=YATES firstname=SHARON extension=18888 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18888 ,site="UNI " ,extgroupunique="586UC " where recordno = 168154] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18888 ,site="UNI " ,extgroupunique="586UC " where recordno = 168154" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168154] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168154" nrows=1 ===================================================== aline=[18889 ,970UNI ,,VRT ,,UNI ,,18889 ,970UC ,,VRT ,,UNI , ] OldExtn=[18889 ] OldExtnGroup=[970UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18889 ] NewExtnGroup=[970UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18889 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18889 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18889 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18889 " deleterecordno nrows=No Counting Dir entry for Oldextn 18889 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "970UNI " AND extension = 18889 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18889 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18889 " deleterecordno nrows=No Moving Dir entry for Oldextn 18889 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "970UNI " AND extension = 18889 and fgroup != "V"" handleOld() recordno=166687 surname=WATTS firstname=ELISE extension=18889 site=UNI extgroupunique=970UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18889 ,site="UNI " ,extgroupunique="970UC " where recordno = 166687] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18889 ,site="UNI " ,extgroupunique="970UC " where recordno = 166687" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166687] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166687" nrows=1 ===================================================== aline=[18890 ,445UNI ,,VRT ,,UNI ,,18890 ,445UC ,,VRT ,,UNI , ] OldExtn=[18890 ] OldExtnGroup=[445UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18890 ] NewExtnGroup=[445UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18890 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18890 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18890 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18890 " deleterecordno nrows=No Counting Dir entry for Oldextn 18890 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "445UNI " AND extension = 18890 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18890 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18890 " deleterecordno nrows=No Moving Dir entry for Oldextn 18890 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "445UNI " AND extension = 18890 and fgroup != "V"" handleOld() recordno=168634 surname=GEORGAKOPOULOS firstname=KRISTEN extension=18890 site=UNI extgroupunique=445UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18890 ,site="UNI " ,extgroupunique="445UC " where recordno = 168634] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18890 ,site="UNI " ,extgroupunique="445UC " where recordno = 168634" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168634] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 168634" nrows=1 ===================================================== aline=[18891 ,482UNI ,,VRT ,,UNI ,,18891 ,482UC ,,VRT ,,UNI , ] OldExtn=[18891 ] OldExtnGroup=[482UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18891 ] NewExtnGroup=[482UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18891 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18891 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18891 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18891 " deleterecordno nrows=No Counting Dir entry for Oldextn 18891 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "482UNI " AND extension = 18891 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18891 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18891 " deleterecordno nrows=No Moving Dir entry for Oldextn 18891 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "482UNI " AND extension = 18891 and fgroup != "V"" handleOld() recordno=166689 surname=SHILANI TOOSI firstname=MAHNAZ extension=18891 site=UNI extgroupunique=482UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18891 ,site="UNI " ,extgroupunique="482UC " where recordno = 166689] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18891 ,site="UNI " ,extgroupunique="482UC " where recordno = 166689" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166689] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166689" nrows=1 ===================================================== aline=[18892 ,407UNI ,,VRT ,,UNI ,,18892 ,407UC ,,VRT ,,UNI , ] OldExtn=[18892 ] OldExtnGroup=[407UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18892 ] NewExtnGroup=[407UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18892 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18892 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18892 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18892 " deleterecordno nrows=No Counting Dir entry for Oldextn 18892 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "407UNI " AND extension = 18892 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18892 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18892 " deleterecordno nrows=No Moving Dir entry for Oldextn 18892 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "407UNI " AND extension = 18892 and fgroup != "V"" handleOld() recordno=167463 surname=JAMES firstname=PAMELA extension=18892 site=UNI extgroupunique=407UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18892 ,site="UNI " ,extgroupunique="407UC " where recordno = 167463] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18892 ,site="UNI " ,extgroupunique="407UC " where recordno = 167463" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167463] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 167463" nrows=1 ===================================================== aline=[18893 ,586UNI ,,VRT ,,UNI ,,18893 ,586UC ,,VRT ,,UNI , ] OldExtn=[18893 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18893 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18893 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18893 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18893 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18893 " deleterecordno nrows=No Counting Dir entry for Oldextn 18893 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18893 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18893 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18893 " deleterecordno nrows=No Moving Dir entry for Oldextn 18893 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18893 and fgroup != "V"" handleOld() recordno=169655 surname=DOUGLAS firstname=ERIN extension=18893 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18893 ,site="UNI " ,extgroupunique="586UC " where recordno = 169655] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18893 ,site="UNI " ,extgroupunique="586UC " where recordno = 169655" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169655] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 169655" nrows=1 ===================================================== aline=[18894 ,446UNI ,,VRT ,,UNI ,,18894 ,446UC ,,VRT ,,UNI , ] OldExtn=[18894 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18894 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18894 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18894 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18894 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18894 " deleterecordno nrows=No Counting Dir entry for Oldextn 18894 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18894 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18894 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18894 " deleterecordno nrows=No Moving Dir entry for Oldextn 18894 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18894 and fgroup != "V"" handleOld() recordno=166692 surname=LAWTON firstname=CAT extension=18894 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18894 ,site="UNI " ,extgroupunique="446UC " where recordno = 166692] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18894 ,site="UNI " ,extgroupunique="446UC " where recordno = 166692" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166692] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166692" nrows=1 ===================================================== aline=[18895 ,663UNI ,,VRT ,,UNI ,,18895 ,663UC ,,VRT ,,UNI , ] OldExtn=[18895 ] OldExtnGroup=[663UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18895 ] NewExtnGroup=[663UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18895 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18895 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18895 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18895 " deleterecordno nrows=No Counting Dir entry for Oldextn 18895 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "663UNI " AND extension = 18895 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18895 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18895 " deleterecordno nrows=No Moving Dir entry for Oldextn 18895 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "663UNI " AND extension = 18895 and fgroup != "V"" handleOld() recordno=166693 surname=LEISTER firstname=NEIL extension=18895 site=UNI extgroupunique=663UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18895 ,site="UNI " ,extgroupunique="663UC " where recordno = 166693] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18895 ,site="UNI " ,extgroupunique="663UC " where recordno = 166693" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166693] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166693" nrows=1 ===================================================== aline=[18896 ,446UNI ,,VRT ,,UNI ,,18896 ,446UC ,,VRT ,,UNI , ] OldExtn=[18896 ] OldExtnGroup=[446UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18896 ] NewExtnGroup=[446UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18896 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18896 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18896 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18896 " deleterecordno nrows=No Counting Dir entry for Oldextn 18896 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "446UNI " AND extension = 18896 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18896 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18896 " deleterecordno nrows=No Moving Dir entry for Oldextn 18896 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "446UNI " AND extension = 18896 and fgroup != "V"" handleOld() recordno=166615 surname=PIKE firstname=RICHARD extension=18896 site=UNI extgroupunique=446UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18896 ,site="UNI " ,extgroupunique="446UC " where recordno = 166615] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18896 ,site="UNI " ,extgroupunique="446UC " where recordno = 166615" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166615] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166615" nrows=1 ===================================================== aline=[18897 ,UNIVACA ,,VAC ,,UNI ,,18897 ,VACUC,,VAC ,,UNI , ] OldExtn=[18897 ] OldExtnGroup=[UNIVACA ] OldDepartment=[] OldDivision=[VAC ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18897 ] NewExtnGroup=[VACUC] NewDepartment=[] NewDivision=[VAC ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18897 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18897 AND parentgroupid = "VAC"" nrows=1 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18897 " delete entry for recordno=167942 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from dirmesg where recordno = 167942" deleterecordno dirmesg nrows=No sqlcmd=[delete from dirmesg where recordno = 167942] dothesql=[] myprocsql: would do procsql ":" "delete from dirmesg where recordno = 167942" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directcustom where recordno = 167942" deleterecordno directcustom nrows=1 sqlcmd=[delete from directcustom where recordno = 167942] dothesql=[] myprocsql: would do procsql ":" "delete from directcustom where recordno = 167942" is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where recordno = 167942" deleterecordno directtemplate nrows=1 sqlcmd=[delete from directtemplate where recordno = 167942] dothesql=[] myprocsql: would do procsql ":" "delete from directtemplate where recordno = 167942" deleterecordno nrows=1 Counting Dir entry for Oldextn 18897 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "UNIVACA " AND extension = 18897 and fgroup != "V"" nrows=No ERROR: No rows found for Oldextn=18897 OldPABX=UNI OldExtnGroup=UNIVACA ===================================================== aline=[18898 ,610UNI ,,VRT ,,UNI ,,18898 ,610UC ,,VRT ,,UNI , ] OldExtn=[18898 ] OldExtnGroup=[610UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18898 ] NewExtnGroup=[610UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18898 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18898 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18898 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18898 " deleterecordno nrows=No Counting Dir entry for Oldextn 18898 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "610UNI " AND extension = 18898 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18898 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18898 " deleterecordno nrows=No Moving Dir entry for Oldextn 18898 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "610UNI " AND extension = 18898 and fgroup != "V"" handleOld() recordno=166696 surname=.ASSIGNED firstname= extension=18898 site=UNI extgroupunique=610UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18898 ,site="UNI " ,extgroupunique="610UC " where recordno = 166696] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18898 ,site="UNI " ,extgroupunique="610UC " where recordno = 166696" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166696] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166696" nrows=1 ===================================================== aline=[18899 ,586UNI ,,VRT ,,UNI ,,18899 ,586UC ,,VRT ,,UNI , ] OldExtn=[18899 ] OldExtnGroup=[586UNI ] OldDepartment=[] OldDivision=[VRT ] OldParent=[] OldPABX=[UNI ] ---> NewVACExtnGroup=[] NewExtn=[18899 ] NewExtnGroup=[586UC ] NewDepartment=[] NewDivision=[VRT ] NewParent=[] NewPABX=[UNI ] NewLocation=[ ] NewTelephone=[] NewLocation=[ ] NewComment=[] Finding VACANT Dir entry for NewExtn 18899 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid AND site = "UNI " AND extension = 18899 AND parentgroupid = "VAC"" nrows=No WARNING: No VACANT found for NewExtn=18899 deleting VACANT on Oldxtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate where fgroup="V" and site="UNI " AND extension=18899 " deleterecordno nrows=No Counting Dir entry for Oldextn 18899 is SELECT dothesql=[1] myprocsql: procsql ":" "select recordno from directtemplate where site = "UNI " AND extgroupunique = "586UNI " AND extension = 18899 and fgroup != "V"" nrows=1 is SELECT dothesql=[1] myprocsql: procsql ":" "select dt.equip_type, dt.firstinit, dc.location, dc.voicemail from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18899 " deleting VACANT on NewExtn is SELECT dothesql=[1] myprocsql: procsql "deleterecordno" "select recordno from directtemplate, gengroup where directtemplate.extgroupunique = gengroup.childgroupid and gengroup.parentgroupid = "VAC" and site="UNI " AND extension=18899 " deleterecordno nrows=No Moving Dir entry for Oldextn 18899 is SELECT dothesql=[1] myprocsql: procsql "handleOld" "select dt.recordno, dc.surname, dc.firstname, extension, site, extgroupunique from directtemplate dt, directcustom dc where dt.recordno = dc.recordno and site = "UNI " AND extgroupunique = "586UNI " AND extension = 18899 and fgroup != "V"" handleOld() recordno=166697 surname=SPATARO firstname=MARIA extension=18899 site=UNI extgroupunique=586UNI handleOld(): updating... sqlcmd=[update directtemplate set secure_code = secure_code ,extension=18899 ,site="UNI " ,extgroupunique="586UC " where recordno = 166697] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directtemplate set secure_code = secure_code ,extension=18899 ,site="UNI " ,extgroupunique="586UC " where recordno = 166697" sqlcmd=[update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166697] sub_dothesql=[] mysubprocsql: would do sub_procsql ":" "update directcustom set date_updated="29/07/2013" ,jobno="RS1_10082013" ,division="VRT " ,location=" " where recordno = 166697" nrows=1