For return code 10 the reason code (in PAN.REA) has a special meaning. It consists of two 2-digit numeric codes, the first number stating what keyword is being processed (state code) and the second number stating the input that caused the error condition (input code). Use the location code (in PAN.LOC) to determine which state code list and input code list to use.
RC = 10
PAN.REA = 0199
PAN.LOC = 1177
When you use the state code and input code lists for the 11xx location codes, the keyword being processed was .DEFINE for state code 01 and the input code contained an unknown symbol for input code 99.