~~~           START STUDENT-HISTORY-FILE KEY NOT LESS THAN
~~~                      EXTERNALLY-DESCRIBED-KEY
~~~                      INVALID KEY
~~~                         CONTINUE.

I don't see the read.
Start is unnecessary with access mode DYNAMIC.
Start is implicit with read.
~~           DISPLAY R9CQAA ' ' R9CMAA ' ' R9KHAA ' ' R9B1AA
~~~                   ' ' R9B2AA.
~~~              WRITE STUDENT-HISTORY-REC
~~~                 INVALID KEY
~~~                     DISPLAY 'DBSTATUS IS ' DBSTATUS.
~~~                   CONTINUE.

Extra scope delimiter above.
I would do it:
WRITE my-rec
invalid key
   perform-DO-THIS
NOT invalid key
   perform DO-THAT.


Mark Villa in Charleston SC 

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].