A boolean referencing a common variable in a PQL Procedure can fail with Error 239
Severe - Data loss
Closed - Fixed
Found:2002.20.32 08 APR 2004
Fixed:2002.20.34 10 APR 2004
DETAILS
The example program will fail with
Attempted to access var when CASE/RECORD/ROW invalid. (Error 239)
EXAMPLE PROGRAM
RETRIEVAL
PROCESS CASES
GET VARS id
PROCESS RECORD EMPLOYEE
GET VARS GENDER
PERFORM PROCS
END RECORD
END CASE
FREQUENCIES GENERAL=EDUC(20)/
BOOLEAN=(ID GT 10)
END RETRIEVAL
WORKAROUND
perform the boolean in the PQL:
IF (ID GT 20) PERFORM PROCS
or copy the variable to a local and use that.