I have pgmA which calling by 50 programs.pgmA has detail file in input mode..some of the 50 calling programs has detail file in update mode .as per new requirement, I will get the detail file records in PGMA in XML format..that needs to be breaked and updated..parsing is fine but I am worrying about updating detail file in PgmA because calling programs may locks record and further I may get issue with locked by same job ! Analayzing those programs also bit difficult because they are calling PgmA multiple times and code is vast and old..any suggestion how to update detail file with out having lock...suggest me any solution..