Back to SPR List Previous Next
EXIT REC in PROCESS RECORD INDEXED not unlocking current record
Moderate Closed - Fixed Found:2002.20.28 *********** Fixed:2002.20.30 11 DEC 2003

DETAILS
 An EXIT RECORD command in a PROCESS RECORD xxx INDEXED .... under MASTER will
 not unlock the current record.

 In the example program both blocks should write the same name but since the
 first block locks the first name, th second block will not be able to access
 that record and will print the second name.
EXAMPLE PROGRAM
 RETRIEVAL

 PROCESS RECORD EMPLOYEE INDEXED BY NAME
 WRITE NAME
 EXIT RECORD
 END RECORD

 PROCESS RECORD EMPLOYEE INDEXED BY NAME
 WRITE NAME
 EXIT RECORD
 END RECORD

 END RETRIEVAL
WORKAROUND
Back to SPR List Previous Next