Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Executing Remote 400 Commands?

261 views
Skip to first unread message

mk...@virginia.edu

unread,
Sep 6, 1998, 3:00:00 AM9/6/98
to

What are my options for sending commands to a remote as/400 and
getting the resulting messages back to the originating as/400.


I have a dozen or so systems I need to manage.


Thanks

Michael Frilot
michael...@heiligmeyers.com
michael...@technologist.com

Tim

unread,
Sep 6, 1998, 3:00:00 AM9/6/98
to
SBMRMTCMD for versions prior to V4R1. This command uses a DDM file to
indicate which system the command runs on. Escape and diagnostic messages
are returned to the local system.

RUNRMTCMD for V4R1+ systems that connect via TCP/IP and that have the RexecD
daemon running.

mk...@virginia.edu wrote in message
<6su2et$9uk$1...@murdoch.acc.Virginia.EDU>...

Daniel Côté

unread,
Sep 6, 1998, 3:00:00 AM9/6/98
to
SBMRMTCMD work fine. You can monitor messages for feedback.
Also, using SNDPGMMSG on your remote program, you can sned back
information to the source program using RCVMSG...


Daniel.

Richard Renshaw

unread,
Sep 11, 1998, 3:00:00 AM9/11/98
to
Micheal:
It is also possible to submit remote commands through and FTP
connection. QUOTE works well, and returns text descriptions of
success(s) and/or error(s). Careful, though; it's not as forgiving as a
QCMD prompt.

Regards,
Richard

In article <6su2et$9uk$1...@murdoch.acc.Virginia.EDU>, mk...@virginia.edu
says...

Caura

unread,
Sep 14, 1998, 3:00:00 AM9/14/98
to
One easy way for many remote manipulations is the SBMRMTJOB command:

Create a sourcefile (same as QCLSRC) and in it create sourcemembers that
start with //BCHJOB and end with //ENDBCHJOB
between them you can create any series of commands.
At the end of the Batchpgm, some special commands can be used to get results
back:
If a command creates a spoolfile, you send the spoolfile back to you with
the sndnetsplf command in the pgm. if a command creates a file, send it back
with sndnetf, any messages you can send back to you via sndnetmsg, ...

Create a distributionlist that contains all the remote AS400s.
With SBMRMTJOB you indicate the dstl as destination and thats it.
You can automate this by putting the SBMRMTJOB in the scheduler, for a
series of standard src-members,
You can tailor this further be automatically receiving the returned
netfiles, ...

PS: you do need a NETJOB-entry on each remote system to be authorised to
submit those jobs.

Tim

unread,
Sep 14, 1998, 3:00:00 AM9/14/98
to
I believe the command you are thinking of is SBMNETJOB

Caura wrote in message <6tk2gc$310$1...@xenon.inbe.net>...

0 new messages