I tried printing ERROR-PCB after the assignment and in the spool all the items declared inside ERROR-PCB are coming correctly but i am getting unexpected values for ERROR-KEYLENGTH and ERROR-SENSNUM.
I am getting the value 52576 for ERROR-KEYLENGTH and ERROR-SENSNUM. But from the spool display of IO-PCB i was expecting the values from position 29-36 in the hex output above.
Could please anyone explain why ERROR-KEYLENGTH and ERROR-SENSNUM is showing a values which is not at all present in IO-PCB.
Is there any relation since these two fields are PIC S9(5) COMP ?