In ISPF (Interactive System Productivity Facility), EDIT commands are categorized into Primary commands and Line commands. Primary commands are entered on the command line and operate on the entire dataset (like CHANGE, FIND), while Line commands are entered in the line number area and operate on specific lines (like C, D, M for copy, delete, move). This distinction is fundamental to ISPF edit operations.