+ Reply to Thread
Results 1 to 7 of 7

Thread: RUNRMTCMD

  1. #1
    Guest.Visitor Guest

    Default RUNRMTCMD

    What are you trying to do? bobh

  2. #2

    Default RUNRMTCMD

    Bob, While searching the forum for another problem I was working with, I came across a post from you which raised my curiosity with the current task I'm working on. Below is the RUNRMTCMD that I am working with and following it, is a reply you had posted: CHGVAR VAR(&CMD) + VALUE('D:MICROS~1OFFICEWINWORD.EXE. + H:' *TCAT &SHARE *TCAT '' *TCAT &DOC) RUNRMTCMD CMD(&CMD) RMTLOCNAME('PC04' *IP) + RMTUSER('HANSENJ') RMTPWD('XXXX23') POST FROM BOB H: John's CL will work -- I think -- but like any string handling situation REXX is the only way to fly. Write a command with a REXX program as the CPP. HTH bobh (This post was from 7/28/2000)[*]********************************************* The RUNRMTCMD works for me--but I would love to see it fly.... I know nothing about REXX, but if this is something that would speed up this process, I want to try it out. Diane

  3. #3
    Guest.Visitor Guest

    Default RUNRMTCMD

    Are you talking about how fast a string can be put together? The execution time of the PC application would far outweigh any minor efficiencies in AS/400 string manipulation.

  4. #4
    Guest.Visitor Guest

    Default RUNRMTCMD

    It was a turn of phrase and not related to processing speed. When you are in CL and have a string problem, create a command with a REXX script as the CPP and let REXX - in your case - submit the RUNRMTCMD... or whatever. That's all. bobh

  5. #5

    Default RUNRMTCMD

    When I execute the RUNRMTCMD, MSWORD opens but without the initial blank document. I wait 15 seconds until the blank document appears and I have control of the MSWORD program. If I open MSWORD without the RUNRMTCMD, I have an instant blank document. I'm just looking for something that would speed this process and thought maybe REXX would be my answer. example of my command: RUNRMTCMD CMD(&CMD) RMTLOCNAME(&IP *IP) RMTUSER(*NONE) RMTPWD(*NONE)

  6. #6

    Default RUNRMTCMD

    I am testing an application that uses the RUNRMTCMD in a CL program. This command passes a directory path for a document from the IFS and then executes MSWORD. All works fine, but now I want some speed with this process. I don't know anything about REXX, but is this something I could look into that possibly would allow this process to speed up? Thoughts would be appreciated. Diane

  7. #7
    Guest.Visitor Guest

    Default RUNRMTCMD

    Hi Diane, I don't know for sure if this will help, but you may want to try issuing the "Start" command from RUNRMTCMD, instead of launching Word directly. Do a "HELP START" for a PC command prompt to get info on the syntax. Start will launch a program (Word, in this case) and may help get Word into a seperate process. From the sound of it, something is waiting for something else and that's what's causing the delay. HTH, Brian

+ Reply to Thread

Similar Threads

  1. runrmtcmd on XP
    By elassiter@coresource.com in forum Microsoft
    Replies: 8
    Last Post: 02-02-2011, 04:04 AM
  2. TCP RunRmtCmd
    By Guest.Visitor in forum Networking
    Replies: 8
    Last Post: 02-23-2001, 07:13 AM
  3. runrmtcmd notepad - yes; runrmtcmd - winword - no. Why?
    By Guest.Visitor in forum Programming
    Replies: 7
    Last Post: 10-18-2000, 04:01 PM
  4. RUNRMTCMD
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts