![]() |
- CFS termination query
After certain Action Codes have been processed, the user is asked what should happen next:
"Term / New / Updated list / U + Keep var / last select ? (T/N/NP../U/UK/UE/*/?)"
The action taken next depends on the user input:
T CFS will be terminated.
N CFS will display an empty Selection mask, into which new selection criteria can be entered.
NP param The FILENAME-SELECT and other Selection mask fields will be loaded with the contents specified in param. A file list meeting those criteria will then be displayed automatically. The "Completing the Selection mask" transaction step will thus be skipped.
U CFS will update and display the last file list to have been displayed. All changes to have been effected by the previous Action Code will be reflected in the new list. In particular, entries for files that have been deleted will be removed from the list (by being processed internally with a '-' Action Code). To display these hidden entries at a later stage, the user can enter a YANK command. Any Variable Action that may have been defined in the previous step will no longer be valid.
UK Analogous to U , except that any defined Variable Actions will not be invalidated.
UE Only those entries from the previous file list for which a successful Variable Action could not be executed will be displayed. Those entries for which no Variable Action was defined, or those for which the Variable Action failed to execute successfully will be hidden by means of an internal '-' Action Code. The complete file list can be displayed again by executing a YANK command. If UE is not specified, unsuccessful Variable Actions will be flagged with 'ERROR' in the right-hand column of the file list.
* The Selection mask will be displayed, already filled with the previously entered selection criteria.
? Activate the Help system. The various input options will be described.
Notes:
Pressing only the ENTER key will have the same effect as entering U, i.e. the last file list will be updated and displayed. In contrast to the explicit U entry, all X Action Codes entered in the last step will be reset to blanks. If the termination query is answered explicitly with U, the X Action Codes will re-appear in the updated list.
If the termination query is answered with DUE1/ENTER, the file will be displayed at the point at which it was last positioned. If the termination query is answered with U, the file list will be displayed at the beginning of the file list.
The termination query can be pre-empted by using the A [opt] command. The opt option in the A (process Actions) command will be used as input for the termination query. For example, A* will process any outstanding Actions, and answer the termination query with *. ANP AGE=0 will process the Actions, and then answer the termination query with NP AGE=0, which will select all files with AGE=0.