View previous topic :: View next topic |
Author |
Message |
navhin Beginner
Joined: 26 Mar 2007 Posts: 20 Topics: 7 Location: india
|
Posted: Fri May 04, 2007 5:54 am Post subject: can INVALID KEY be specified with READ NEXT |
|
|
hi
i am using the following code.
Code: |
READ READ-RECONCILE NEXT
INVALID KEY
MOVE 'Y' TO SW-NO-MATCHING-REC
END-READ.
|
i get the following error msg in SYSPRINT
Code: |
READ READ-RECONCILE NEXT
INVALID KEY
The "NEXT" phrase was specified with the "INVALID KEY" phrase. The
"NEXT" phrase was discarded.
MOVE 'Y' TO SW-NO-MATCHING-REC
END-READ.
|
plz tell me whether invalid key cannot be used with read next or i have made some other error in the code. _________________ navhin |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
navhin Beginner
Joined: 26 Mar 2007 Posts: 20 Topics: 7 Location: india
|
Posted: Fri May 04, 2007 8:43 am Post subject: |
|
|
kolusu,
thankz.
i understood invalid key cannot be used with next. _________________ navhin |
|
Back to top |
|
 |
|
|