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: : 130526
SELECT companies.* , sectors.level3des FROM companies, sectors WHERE companies.sector = sectors.level3num and compid = '130526'

The Shares Amount is 58528000

The cusip is 44914M104
NOT OLD

Retrive Rows from Table:
select * from current13Fpositions where cusip = '44914M104'
Number of Rows :17

update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '1827608'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '17.48' where entryId = '2420529'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '30.82' where entryId = '2827793'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '11.56' where entryId = '2832037'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '3190631'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '23.24' where entryId = '3265784'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '2.01' where entryId = '3505286'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '120.49' where entryId = '3729953'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '4077282'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '4416912'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '4436073'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0.26' where entryId = '5086816'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '18.94' where entryId = '5455394'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '9415417'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '9826301'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '10517127'
update current13Fpositions set compid = '130526', sectorNum = '602001', sectorDes = 'Application Software', issuerCik = '0001001113' , percentOut = '0' where entryId = '10526734'
End Function

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

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