One of the PC's we are running the RUNRMTCMD on is running NT. When starting a command under NT you should go into Control Panel-Services and have Client Access Remote Command started. Remember, when you run RUNRMTCMD against the PC you should get a spool file, QPRINT, that echos the batch file executed on the PC. Here is a sample from our shop: RUNRMTCMD CMD(&CMD) + RMTLOCNAME(&CONTROLPC *IP) RMTUSER(&USER) + RMTPWD(&PASSWORD) MONMSG MSGID(CPF91CC) EXEC(GOTO CMDLBL(CPF91CC)) GOTO CMDLBL(UPLOADED) CPF91CC: /* Command did not complete successfully. */ /* | Check for PC report of batch file. */ /* PM001 CALL PGM(PCGETSTS) */ /* PM001*/ CALL PGM(PCGETSTS) PARM(&REMOTE) Nick_Runnalls@burmahcastrol.com on 10/06/99 05:15:14 AM Please respond to MIDRANGE-L@midrange.com@Internet To: MIDRANGE-L@midrange.com@Internet cc: Fax to: Subject: Re: STRPCO How do I work out the paramaters for RUNRMTCMD Please respond to MIDRANGE-L@midrange.com To: MIDRANGE-L@midrange.com cc: (bcc: Nick Runnalls/BCTL/BurmahCastrol) Subject: Re: STRPCO Been awhile since I've used STRPCO. I use RUNRMTCMD most of the time now. With RUNRMTCMD the command does not have to be initiated from the PC that you want to run on. In our case we poll a shop floor PC for info. With RUNRMTCMD I don't have to tell the shop floor person to press a button. STRPCO might be nice if you are going to run it from an interactive session and you don't know which PC. RBoucher@stanpac.com on 10/05/99 01:10:49 PM Please respond to MIDRANGE-L@midrange.com@Internet To: MIDRANGE-L@midrange.com@Internet cc: Fax to: Subject: STRPCO I was looking for a initiate from the AS/400 a PC command (in this case a Client Access data transfer (.tto)) on the users PC. Then I stumbled onto the STRPCO command which can be used in conjunction with STRPCCMD. It works like a charm and doesn't involve as many steps as the CWBRXD stuff. IBM tells me STRPCO is old stuff and no one uses it anymore since CWBRXD and RUNRMTCMD. I just wanted to ask you learned folks why that would be, and are there any drawbacks to using STRPCO? Thanks for your help. Roger Boucher Standard Pacific Corp. firstname.lastname@example.org 714-668-4326 +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.