Mainframes were originally batch processing only.
Interactive access was a later addon… and it was an addon … interactive commands were different to batch commands.
One of the pleasant surprises of Unix was that commands were the same in foreground and background. We take that for granted today.