To run a control language (CL) command on your local iSeries™ without leaving the FTP environment, use the SYSCMD FTP client subcommand in this format:
SYSCmd commandline
SYSCMD ? SNDBRKMSG
you get the display for the Send Break Message (SNDBRKMSG) command.
If you want to see low level messages that result from your CL command, or if you want to enter multiple CL commands before returning to the FTP environment, use the iSeries CALL QCMD command.
For example, to get to an iSeries Command Entry display, enter this:
SYSCMD CALL QCMD
From the Command Entry display, you can then call your application programs or enter CL commands. At the completion of your application program or the CL command, you return to the Command Entry display. From there you can display messages, start additional work on the system, or press F3 (Exit) or F12 (Cancel) to return to FTP.
You can enter iSeries CL commands when you press F21 (CL command line) from the main FTP display. The server does not allow the F21 key when an exit program it is an addition to the FTP Client Request Validation exit point.