10 pts.
 How can I start a job on the AS/400 from a PC?
We receive files via FTP to an NT card on the AS/400. I can easily FTP from the NT card to the AS/400. Is there a way to start a job to be run on the AS/400 from the NT card or the IFS to process this file?

Software/Hardware used:
ASKED: May 12, 2008  12:59 PM
UPDATED: April 20, 2010  7:53 AM

Answer Wiki:
Crude, but could you use the RMTCMD capability in a DOS batch file? Something like this: RMTCMD RUNQRY QRY(MYLIB/MYQUERY) //10.198.16.4 ========================================================= The RMTCMD command can work, but not by itself. It will need someone to supply user profile/password every time it runs. From a user's PC, that's usually not a problem because the user has already signed into a session. When a server tries to execute RMTCMD, it's unlikely that any "user" has already signed on. So, you might use the CWBLOGON command from an iSeries Access install to supply a profile/password. After the RMTCMD completes, run CWBLOGON again with parms to clear the profile/password cache. Run the commands with /? as the only parameter to see the Windows help text for them. Tom
Last Wiki Answer Submitted:  April 20, 2010  7:53 am  by  CarterC19   220 pts.
All Answer Wiki Contributors:  CarterC19   220 pts. , DanTheMan 2   395 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _