First, login to the AS/400® machine with a 5250 display emulation. All the commands are executed in the 5250 display emulation (or telnet connection).