Statement must appear in PROCESS CASE/CASE is block. (Error 471) after indexed record access.
Minor
Closed - Fixed
Found:2002.20.35 20 MAY 2004
Fixed:2002.20.36 25 MAY 2004
DETAILS
If an indexed record is retrieved within a case block and that record block
is followed
by another record block then the second record block will fail to compile
with a
Statement must appear in PROCESS CASE/CASE is block. (Error 471)
EXAMPLE PROGRAM
RETRIEVAL
. PROCESS CASES
. PROCESS RECORD EMPLOYEE INDEXED BY NAME
. END RECORD
. PROCESS RECORD EMPLOYEE
. END RECORD
. END RECORD
END CASE
WORKAROUND
Move the indexed record block to a subprocedure and the retrieval will
compile.