Home > Ask the AS/400 Experts > Questions & Answers > Activate a PC program from the AS/400
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Activate a PC program from the AS/400

Shahar Mor EXPERT RESPONSE FROM: Shahar Mor

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 06 February 2001

Is there a way to activate a PC program from the AS/400?


>

Yes, it is possible. The AS/400 has a command called RUNRMTCMD that allows the AS/400 to send command strings to any host running the rexec daemon. (For example, on Windows NT one may start the incoming command service to receive incoming commands.)

Here is an example:

RUNRMTCMD CMD('c:test.bat') RMTLOCNAME(remotepcname *IP)    RMTUSER('mypcuser') RMTPWD('myuserpwd')

This will run the batch file test.bat on system remotepcname.

Notes:
1. The user and passwords are sometimes case-sensitive. (This is the reason for the quotes).
2. Any feedback from the PC program will be written to an AS/400 spool file.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts