cobolSTART statement


Remarks

The START statement provides a way to position a read in a file for subsequent sequential retrieval (by key).

START statement syntax diagram

The key relational can include (but is not limited to):

  • KEY IS GREATER THAN

  • KEY IS >

  • KEY IS LESS THAN

  • KEY IS <

  • KEY IS EQUAL TO

  • KEY IS =

  • KEY IS NOT GREATER THAN

  • KEY IS NOT >

  • KEY IS NOT LESS THAN

  • KEY IS NOT <

  • KEY IS NOT EQUAL TO

  • KEY IS NOT =

  • KEY IS <>

  • KEY IS GREATER THAN OR EQUAL TO

  • KEY IS >=

  • KEY IS LESS THAN OR EQUAL TO

  • KEY IS <=