How to change the AS/400 FTP Server Run Priorities from 25 to a lower batch priority such as 50
From Support
Since WinSpool/400 utilizes the CPYSPLF command to copy reports, the processing can sometimes take up a lot of CPU, depending on what other jobs are currently running on the AS/400. Listed below we will outline the procedures to insure that FTP jobs run at priority 50. Priority 50 is the same as most AS/400 batch jobs.
Sign on as a security officer and run the following commands:
- Note: prior to running the following commands, make sure nobody is using the AS/400 FTP Server.
1.) Run the following command to change the AS/400 FTP Server subsystem job class to insure that FTP jobs run at priority 50.
CHGCLS CLS(QTCP/QTMFTPS) RUNPTY(50)
If you ever need to change the setting back to the AS/400 default value, you would use the following command:
CHGCLS CLS(QTCP/QTMFTPS) RUNPTY(25)
2.) End the FTP Server using the following command.
ENDTCPSVR *FTP
3.) Wait about 20 seconds after ending the FTP server before restarting the server.
4.) Start the FTP Server using the following command.
STRTCPSVR *FTP
5.) Run the following command to insure that all FTP server jobs starting with the prefix QTFTP* are running at priority 50.
WRKACTJOB SBS(QSYSWRK) JOB(QTFTP*)
Press F11 until you see the Priority field (Pty). The priority for all all FTP server jobs should now be 50.
Categories: WinSpool/400 | Knowledge Base | How To | TBPR | Brad
