For some reason your system is unable to create a lock file in the /isam directory. One reason for this could be that in its previous run your program terminated abnormally (perhaps due to a power
                  failure) leaving some files locked.
            
            
               
               Resolution:
               
               You should manually remove all of the files that are still locked from the /isam directory before you can successfully run your program.