Hi Don
When I used to run these in batch files I used to use the RTOPCB command
(not sure if that dates me or not...) Don't know if that's still current or
there is a new command.
To be honest, I wouldn't have expected that batch file to work at all.
Double clicking on a file with a file association might run the associated
programs but I didn't think that extended to running them in batch. But it
wouldn't be the first time that windows has surprised me.
Is the .dtf file really in the root ?
Regards
Evan Harris
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Wednesday, 15 October 2008 11:37 p.m.
To: Midrange Systems Technical Discussion
Subject: RE: Run a .dtf from CLP
cwblogon 192.168.0.9 /u DCA /p xxxx
c:\qkeep3.dtf
Above is the content of the .bat file. This runs fine when I run it
straight from the PC side.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Evan Harris
Sent: Tuesday, October 14, 2008 7:39 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Run a .dtf from CLP
Hi Don
Pipe the batch file output to a log file so you can see what the batch
file is doing. For example:
RUNRMTCMD CMD('START C:\QKEEP3.BAT > C:\QKEEP3.LOG')
RMTLOCNAME('192.168.0.173' *IP) RMTUSER(DCAVAIANI) RMTPWD()
Regards
Evan Harris
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Wednesday, 15 October 2008 1:09 p.m.
To: Midrange Systems Technical Discussion
Subject: RE: Run a .dtf from CLP
I have CWBRXD.EXE running on the PC, and the job lob shows the below
message, yet there is no update to he file which the .dtf (in the .BAT
file) should be creating? NO error messages - job appears to end
normally?
3200 - RUNRMTCMD CMD('START C:\QKEEP3.BAT') RMTLOCNAME('192.168.0.173'
*IP) RMTUSER(DCAVAIANI) RMTPWD()
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Tuesday, October 14, 2008 11:38 AM
To: Midrange Systems Technical Discussion
Subject: Re: Run a .dtf from CLP
As others have mentioned, you have to have the "iSeries Access for
Windows Remote Command" windows service running. Actually, any REXC
client server will do.
Also, given that you're trying to perform a file transfer with, note
that you'll have to place the transfer request in a .BAT file so that
you can use CWBLOGON command to log onto the iSeries before performing
the transfer.
HTH,
Charles
On Tue, Oct 14, 2008 at 11:14 AM, Don Cavaiani <dcavaiani@xxxxxxxxxxxxx>
wrote:
Cannot get past this error message:
" A remote host refused an attempted connect operation. " I tried all
the different options. Does a certain job need to be running (and kept
active) on the PC?
Also, do I need the CMD string to include C:\program
files\ibm\client access\cwbtf.exe ??
Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
"It's amazing what you can accomplish if you don't care who gets the
credit." Harry S. Truman
As an Amazon Associate we earn from qualifying purchases.