Broadly speaking,
"Edit command" is for to manipulate the file on the screen,
"DOS command" is for to maintain file as entity.
Function key is assigned to Edit command only.

1