I was working with a method and made some changes and tried to save and it gave a checksum error (checksum was not enabled originally). I now an unable to open the method at all and get the following error. I know I have seen this before and there is a way to resolve, but forgotten how to solve. Any help appreciated as the last backup i have is vastly different for the version i know have.
Thanks for that. I had seen that post before and I could find nothing obvious in the HSL to correct.
I had a flashback overnight as to what I had done previously to fix. What I did to resolve in my case was to find the error in the HSL, copied the line to notepad and then delete the whole command from the HSL and save. If there were multiple changes since the last save you will have a to repeat opening up the method getting the HxPars error code and repeating the above.
Once all are addressed the method will open and in each of the lines there will be a blank HSL code insert in the position within the method. Then you can refer to the notepad file to reinsert the missing code, e.g.
This allows that nothing is lost and you can recreate everything and get the method back to the previous state pretty quickly. Obviously making regular backups is best practice, but this method allows recovery in the cases when you may not have and you will not lose any hard work.