*ON Define Events for Latent Conditions

*ON %LST CONTINUE [AFTER INPUT] | SKIP [AFTER INPUT] .label

After control has switched to the user following a *DIA statement, CFS will check each dialog step to see if the user input has caused a switch from Display to List mode (achieved either by pressing the K1 key, or by entering a LST command). If this is the case, the *ON %LST command is satisfied, and the action specified in the ON statement will be carried out.

CONTINUE The procedure will be restarted automatically before the first command in List mode.

CONTINUE AFTER INPUT

The procedure will be restarted automatically after the first command in List mode entered by the user.

SKIP .label The procedure will be restarted automatically before the first command in List mode (display the file list), at the specified label.

SKIP AFTER INPUT .label

The procedure will be restarted automatically after the command entered by the user in List mode, at the specified label.