|
Carl Galgano wrote:
>
> I have a client who has an AS400 & RS6000 on an ethernet network. We are
> currently using FTP to transfer files and it works fine. The AS400 is the
> client and the RS6000 is the server.
>
> We now have a requirement that the AS400 run the program on the RS6000 that
> creates the file that is to be transfered to the AS400. I would like to add
> an FTP command in my FTP script that will allow me to do this. The RS600
> programmer to me to use the following to execute the program from a $ prompt
> on the RS6000:
>
> run pgmname
>
> I thought I could use the QUOTE subcommand to do what I wish to do what I
> need, something like this:
>
> QUOTE run stc.322gatex
>
> However the server comes back and says that RUN is not recognized. See the
> screen below. Does anyone sknow if this can be done, and if it can, how do
> I do it.
One solution is software to allow you to submit jobs to the REXECD
daemon on the RS/6000. One such piece of software is "IBM Connection
Program/400" (5798-RZB for CISC, 5798-TBE for RISC) that provides a CL
command called STRUNXCMD.
It also contains a STRUNXWTR command, to allow you to direct AS/400
output queue to the RS/6000, as well as 5250 emulation from the RS/6000
for ASCII workstations & Xstations.
It also provides access from RS/6000 to AS/400 database via remote SQL.
Communication is either TCP/IP or SNA.
You may not care for the price - $3,220 Canadian - or US$2,400.
The STRUNXCMD looks like this:
Start UNIX Command (STRUNXCMD)
Type choices, press Enter.
Connection Type . . . . . . . . CONTYPE > *TCP
TCP/IP Remote System Name . . . RMTSYS
Command to Execute . . . . . . . CMD
Remote User . . . . . . . . . . USER
Remote User Password . . . . . . PWD
or for *APPC
Start UNIX Command (STRUNXCMD)
Type choices, press Enter.
Connection Type . . . . . . . . CONTYPE > *APPC
APPC Remote Location Name . . . RMTLOCNAME
Command to Execute . . . . . . . CMD
Remote User . . . . . . . . . . USER
Remote User Password . . . . . . PWD
--
...Neil Palmer AS/400~~~~~
...Technical Specialist ____________ ___ ~
...NxTrend Technology - Canada |OOOOOOOOOO| ________ o|__||=
...Markham, Ontario, Canada |__________|_|______|_|______)
...Phone: (905) 731-9000 x238 oo oo oo oo OOOo=o\
...e-mail: neil@systemetrix.ca ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List! To submit a new message, *
* send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from *
* this list send email to MAJORDOMO@midrange.com and specify *
* 'unsubscribe MIDRANGE-L' in the body of your message. Questions *
* should be directed to the list owner / operator: david@midrange.com *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.