Hi I have gone through the example specified in the documentaion…please find the example below
Read Each Qualifying Record
EX1B.
MOVE
Hi I have gone through the example specified in the documentaion…please find the example below
Read Each Qualifying Record
EX1B.
MOVE
An L1 command is the same as a Natural GET command… fetching the record with the given ISN (and you are passing a zero for ISN so I am not sure how this works out for you).
If you want a command that will allow you to read all the records on the file in sequence, choose the L2 command (read in physical sequential order) or L3 command (read in logical sequential order).
My apologies… been a while since I studied direct commands… guess the READ BY ISN does L1s too… will check something and post my results.
Maybe this DBLOG of what a READ BY ISN constructs will help?
Command Code … L1 Command ID …
depends on the programming language you are using to call ADABAS - load them into an internal array or write them out to a temporary work file perhaps.
again, depends on your programming tool. Yes, you need a loop that repeatedly calls ADABAS.
your CALL is incomplete - you are not showing the VALUE BUFFER, SEARCH BUFFER nor ISN BUFFER. See the documentation - they are used to describe the sequence value and starting value for your read.