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

RUNRMTCMD and W2K

121 views
Skip to first unread message

Brad Rosman

unread,
Oct 10, 2002, 7:10:05 PM10/10/02
to
Where can I find documentation on how RUNRMTCMD interacts w/ Windows 2000?
Here is my situation:

OV/400 is being converted to Word 2002. Most of what is done is merge
documents. So..... we RUNRMTCMD to the server to open Word w/ a macro that
merges from a data file on the iSeries, inserts the correct letterhead and
signature, directs the output to the desired printer and ends. However, it
seems that we need to be logged onto the server w/ the same user id (ie.
USER) that is used in the RUNRMTCMD. But the rmtcmd seems to be a different
instance of USER (I can tell because, until I import them, the macros that
exist for USER don't exist for the RMTCMD instance of USER). Also, if we
try to RUNRMTCMD w/ nobody logged onto the server (or a different user
logged onto the server) the RMTCMD instance of USER tries to install Office
XP so that it can run Word.

I am trying to find out if it's possible to control the instance of the
RUNRMTCMD user on the server. More importantly, I would like to be able to
NOT have a user logged onto the server 24/7.

Any help will be greatly appreciated as I have found NO documentation from
either MS or IBM on this matter.

BTW, I would highly recommend any word processor that is NOT Word if you
need to do conditional text, change headers/footers or watermarks or expect
a macro to be able to run the most efficient process flow. The
documentation for Word (especially WordBasic) leaves much, much more than a
lot to be desired. Or maybe I have just been missing something obvious.

Thanks,

Brad


xxx

unread,
Oct 11, 2002, 8:56:15 AM10/11/02
to
When i issue the RUNRMTCMD manually it fails but if I run a CL containing

RUNRMTCMD CMD('your command') +
RMTLOCNAME('ip address' *IP) +
RMTUSER('userid') RMTPWD('password')

it works fine.

--
rw


Charles Wilt

unread,
Oct 11, 2002, 9:17:35 AM10/11/02
to
Should be plenty of documentation on IBM's web site also check the CAE
users manual.

Basically, in 'Control Panel'-->'Services', check to see what user ID the
'Client Access Express Remote Command' service is configured to start
with. Also, in IBM AS400 Client Access Express folder, click on client
access properties and then on the Incoming Remote command tab. Look at
the command mode and the security options.

Good luck with this...you're asking to run an interactive application in
batch...not going to be fun.

For batch conversion, it might be worthwhile to check into a tool made to
do it. The only one I know of is:
http://www.aia-itp.com/products/o2o_order.html

HTH,
Charles

In article <uqc245f...@corp.supernews.com>, bro...@psateam.com
says...

Charles Wilt

unread,
Oct 11, 2002, 1:57:18 PM10/11/02
to
might be a dumb question, but when you issue the RUNRMTCMD from the
command line to you include quotes around the password?

You need then if the password is not all upper-case.

Charles

In article <ao6hpg$jnt0s$1...@ID-83919.news.dfncis.de>, x...@xxx.com says...

Brad Rosman

unread,
Oct 11, 2002, 4:00:08 PM10/11/02
to
The results in W2K are the same whether it is run interactively or in batch,
from a command line or from a CLP. I've looked on IBM's site and found some
documentation, but nothing on the interaction between CWBRXD and W2K. I am
simply not understanding the user ID tab in the properties of Incoming
Remote Command. Currently I have it set to run w/ the specified user ID. I
have found that the documentation for Remote Command is a little bit
confusing. For example it says,"Requests will be run in the order in which
they are received." Two sentences later it says, "Requests are run
concurrently." Huh? It turns out that requests are run concurrently, it's
just that generally they aren't received simultaneously so that they also
run in the order in which they are received.

This has been an exercise in patience. Get the job flow to point X, solve a
problem, go to X + 1, solve another problem, go to X+2, now step X doesn't
work, solve the probelm, go back to X + 2, etc..............

I'm (slowly) getting there. I guess this is to be expected when you are
given only one option with which to solve a request.

Thanks,

Brad


"Charles Wilt" <cw...@nospam.miamiluken.com> wrote in message
news:MPG.18109979a...@news.easynews.com...

Charles Wilt

unread,
Oct 11, 2002, 4:32:11 PM10/11/02
to
Actually I wasn't talking about doing the RUNRMTCMD interactive vs.
batch. I was talking about the fact Word is an interactive application
that you are trying to run in batch.

Getting word to run in batch is going to be problematic....getting
RUNRMTCMD to run interactive jobs is also problematic.

you might try using W2K start command if you aren't already. For
example, RUNRMTCMD cmd('start winword.doc autoconv.doc'). That will at
least get rid of most (all?) of RUNRMTCMD's responsibility.

A note for future reference. I've found that for starting interactive
windows application such as word, notepad, acrobat, ect. It works better
to use STRPCCMD. Of course this particular command is sent to whatever
session used it. So a user has to be signed on to both the PC and the
400. But it runs commands as if the user had done a 'start'-->'run'.
This works quite nicely for me, for example from a green screen customer
inquiry our users can pull up PDF copies of a selected invoice.

RUNRMTCMD, I save for unattended command line jobs...which is what is is
designed for.

Good luck,
Charles

In article <uqebc8p...@corp.supernews.com>, bro...@psateam.com
says...

Richard Schoen

unread,
Oct 12, 2002, 2:33:34 AM10/12/02
to
Hello Brad,

Our iSeries Office Integrator can help with running merges directly from the
AS/400. You can run a single copy of the PC server component on a server if
desired and then batch the merge commands via that PC. Otherwise each user
can run a copy of the server component on their PC and run the mail merges
and prints directly to their own PC. CA/400 is NOT required.

For more info, check out our web site or contact me directly.

Regards,
Richard Schoen
RJS Software Systems
"The AS/400 Report and Data Delivery Experts"
Email: ric...@rjssoftware.com
Web Site: http://www.rjssoftware.com


"Brad Rosman" <bro...@psateam.com> wrote in message
news:uqc245f...@corp.supernews.com...

0 new messages