How do I unlock the data file to avoid halt ? CL used to sort file and call an RPG that cleared a field (followed by further processing). When I switch to an SQLRPG to clear the field, I get CPF5032 in the next program. Yes, I tried the UNLOCK op code in the SQLRPG but same result. No halt using the old RPG (in 1st step), so the SQL update is definitely the cause of my hanging lock.
March 29, 2011 7:34 PM
March 31, 2011 2:46 AM