NEXT VERSION
This field can be used to identify a specific version of an application for use in a subsequent MENU, INPUT, OUTPUT, or similar statement.
This field is also used to control which source file is accessed when opening, creating, or scratching a source file. It is automatically cleared following an OPEN, CREATE, or SCRATCH statement.
          SET      --- 
 NEXT APPLICATION           =      TAP 
 
          SET      --- 
 NEXT VERSION               =      00 
 
          SET      --- 
 NEXT PROCESS NAME          =      VENDORS 
 
          INPUT                                         DETACHED     END? 
 N  FAIL 0
This example will fail if the value in NEXT VERSION is not valid for the current database.
Related PDFs: NEXT APPLICATION, NEXT PROCESS NAME