Joined: 25 Jul 2019 Posts: 2 Location: Repulic of Korea
I'd like to ask the correct behavior of START-READ clause like below:
No 'KEY IS' option defined. -> READ with its main key.
AIX is used as a key.
3. READ NEXT
AIX is used as a key for a sequential READ after START.
No 'KEY IS' option defined. -> Which KEY should be used, main key or AIX used at the previous READ NEXT clause?
SELECT IX-DPT-DATA-FILE ASSIGN TO DPTDD
ACCESS MODE IS DYNAMIC
ORGANIZATION IS INDEXED
==> RECORD KEY IS IX-DPT-DATA-KEY <==
ALTERNATE RECORD KEY IS IX-DPT-DATA-ALT-KEY-01
==> ALTERNATE RECORD KEY IS IX-DPT-DATA-ALT-KEY-02 <==
FILE STATUS IS IX-DPT-DATA-FILE-STATUS.