END—End the Edit Session

The END primary command ends the editing of the current sequential data set or partitioned data set member.

Syntax

Read syntax diagramSkip visual syntax diagramEND

Description

To end an edit session by using END, either:
  • Enter END on the command line, or
  • Press a function key to which END is assigned. The default setting is F3
If no aliases have been defined for END, the editor's response to END depends on:
  • Whether changes were made to the data during your current edit session
  • If changes were made, whether SAVE was entered after the last change
  • The setting of number mode, autonum mode, stats mode, autolist mode, and autosave mode in the edit profile
  • Whether you were editing a member that was an alias of another member

For additional explanation, see Ending an edit session.

Examples

To end the current edit session:

  1. On the command line, type:
    END
  2. Press Enter.