To do multible compids, use the following script:
php /var/www/html_j3sg/institutions/ChangeCompidOfAllInstitutionalAfewCompaniesAtATime.php
Please note that the script mentioned above (ChangeCompidOfAllInstitutionalAfewCompaniesAtATime) only updates the current13FFilingpositions table, no archived tables.

This script actual updates 13F current table as well as both archive13F tables.

We got coming in compid: : 130899
SELECT companies.* , sectors.level3des FROM companies, sectors WHERE companies.sector = sectors.level3num and compid = '130899'

The Shares Amount is 68955000

The cusip is 929284107
NOT OLD

Retrive Rows from Table:
select * from current13Fpositions where cusip = '929284107'
Number of Rows :10

update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '0.52' where entryId = '3735315'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '0' where entryId = '7614527'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '10.85' where entryId = '10252760'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '91.72' where entryId = '10822844'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '485.37' where entryId = '12341412'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '0' where entryId = '13398216'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '696.96' where entryId = '13850777'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '7.25' where entryId = '13976258'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '65.16' where entryId = '14330732'
update current13Fpositions set compid = '130899', sectorNum = '605001', sectorDes = 'Communication Equipment', issuerCik = '0000105006' , percentOut = '2.42' where entryId = '14879323'
End Function

Retrive Rows from Table:
select * from archive13F where cusip = '929284107'
Number of Rows :0

End Function
The Script is complete, exiting....