|
I pass it in as a parameter to the program. On an NT pc you Right Click on network neighborhood, select properties, and it is the name of your PC. RBoucher@stanpac.com on 10/07/99 05:14:45 PM Please respond to MIDRANGE-L@midrange.com@Internet To: MIDRANGE-L@midrange.com@Internet cc: Fax to: Subject: RE: STRPCO Thanks to all who provided feedback on the STRPCO command. Rob, I am very interested in the variable &CONTROLPC. How do you acquire this value? -----Original Message----- From: Rob Berendt [mailto:rob@dekko.com] Sent: Wednesday, October 06, 1999 5:17 PM To: MIDRANGE-L@midrange.com Subject: Re: STRPCO 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. rboucher@stanpac.com 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: david@midrange.com +--- +--- | 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: david@midrange.com +--- +--- | 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: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.