Template:AskPlus E.8.4.6

From Vital Soft Wiki
Jump to: navigation, search

Enhancements:

SUBSEL/SUBSET Command
  • Based on the query3k SUBSET command.
  • SUBSEL/SUBSET is a shortcut command to refine the current selection.
  • May be abbreviated SUB.
  • Performs an implicit FIND with INSEL=* and creates a new OUTSEL with the same set list as the previous FIND or SUBSEL.
  • Supports all FIND statements, except PRIMARY, INSEL and OUTSEL which are automatically set.
  • Use UNDO to step back to the previous selection.

Example:

FIND PRIMARY=MEMBER-FILE;OUTSEL=(@)
(LOAN-FILE.BALANCE > 100000)
Current OUTPUT select file is ./ASK97701
using serial read
entries read 396 591
entries qualified 107
SUB LOAN-FILE.ACTION <> "O"
Current INPUT select file is ./ASK97701
Current OUTPUT select file is ./ASK97702
using previous select file
entries read 107 107
entries qualified 93
UNDO Command
  • Based on the query3k UNDO command.
  • Switches the current select file back to the results of the previous SUBSEL/SUBSET or FIND command.

Example:

UNDO
Current select file is ./ASK97701
entries qualified 107

Fixes:

  • Fix a bug with global OUTER keyword when the OUTSEL was an explicit set list, not "@".