How can I start a job on the AS/400 from a PC?

10 pts.
Tags:
AS/400 FTP
IFS
Integrated File System (IFS)
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?

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following