Body
More info: https://mailvalenciacc.sharepoint.com/:w:/s/IR/EShsVeIqqZZJsUMZES70QUEBeOgCrVPyBDfFHeIAEEc0Ow?e=bbPtR5
Issue: AppendCreditReg_Load Failed due to Table Lock
Example of Locks:
ERROR: A lock is not available for STG.SSBSECT.INDEX.
ERROR: Lock held by process 20840558.
ERROR: A lock is not available for STG.SFRSTCR.INDEX.
ERROR: Lock held by process 20840558.
Resolution:
- Check if lock is still active
- Nothing should be able to lock the tables
- Using the process ID find and kill the process
- Using BITVISE/Command line access LINUX
- topas command launches a utility that provides a rolling list of top CPU using processes
- Use ps -ef|grep Enter Process ID
- After confirm the process is still running using ps –ef|grep then kill the process
- kill -9 Process# - This command will kill the process by force
- Now depending on where the job bombed, you will either run from the beginning or run from where is at – This is very tricky because a rollback wil be required if the target is damaged. If so, then contact system admin for roll back from backup.
- Based on where this issue happened, see the flow error, we can run this job from beginning
- Right Click on the Exited Flow and then choose Trigger Now – this will run the job from start to finish
- Once the job is completed then we will need to manually Register the Tables in Memory for SAS VA by running the three load Queries.
- Log into SAS VA
- Browse to (Run the 3 Queries: section_enrollment, ENROLLMENT_TREND_APPEND, VA_REGISTRATION_TREND_STUDENT_QUERY)
- After all three queries are completed, then click around the Credit Registration Report in SAS VA to confirm things are loaded