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
RUNRMTCMD CMD('your command') +
RMTLOCNAME('ip address' *IP) +
RMTUSER('userid') RMTPWD('password')
it works fine.
--
rw
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...
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...
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...
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...
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...