× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



YES - THAT DID IT - Thank you very much to ALL who responded!!

Don

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, October 15, 2008 2:13 PM
To: Midrange Systems Technical Discussion
Subject: RE: Run a .dtf from CLP

So, instead of a drive mapping (X:) try a network \\myserver\myshare
kind of notation instead?

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Dan Kimmel" <dkimmel@xxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
10/15/2008 03:09 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: Run a .dtf from CLP






Your REXEC service starts before the drive is mapped. Also, the service
runs under a user id that may not be authorized to the mapped drive.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Wednesday, October 15, 2008 12:33 PM
To: Midrange Systems Technical Discussion
Subject: RE: Run a .dtf from CLP

IBM iSeries Access for Windows

Version 5 Release 3 Level 0

Transfer data from iSeries

(C) Copyright IBM Corporation and Others 1984, 2003. All rights
reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

Licensed Materials - Property of IBM

The system cannot find the path specified.

X:\qkeep3.xls

This path is N/F when submitting the job and with the RUNRMTCMD in the
CLP. X is a network server drive which all PC's are mapped to. When
the .bat job is run right from the PC itself, the file on the X drive is
re-written.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vern Hamberg
Sent: Wednesday, October 15, 2008 10:33 AM
To: Midrange Systems Technical Discussion
Subject: Re: Run a .dtf from CLP

Don

Do you get a QPRINT spooled file in your job? That might contain any
returned info from the PC

Don Cavaiani wrote:
I have this service running on the PC:

C:\WINDOWS\CWBRXD.EXE

When I change the CLP to execute RUNRMTCMD, ir appears to run but
there is no file created, and no errors noted.

Thanks for your patience.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Wednesday, October 15, 2008 9:32 AM
To: Midrange Systems Technical Discussion
Subject: Re: Run a .dtf from CLP

If you want to send remote commands from a batch job, try RUNRMTCMD.

However, you'll have to either know ahead of time, or run a program to

determine the name/ip address of the PC to send the command to.

Also, you need to turn on the "iSeries Access Remote Command" windows
service on the PC.

HTH,
Charles


On Wed, Oct 15, 2008 at 10:29 AM, Charles Wilt
<charles.wilt@xxxxxxxxx>
wrote:

The STRPCCMD sends a specially formatted screen to the emulator to
tell it to run a particular command.

So why would you think this would work in batch? Obviously it can't
given its dependence on a 5250 session.

Charles

On Wed, Oct 15, 2008 at 9:55 AM, Don Cavaiani

<dcavaiani@xxxxxxxxxxxxx> wrote:

Got it to run interactively with these commands:

STRPCO
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD('rtopcb.exe c:\qkeep3.dtf')

But, cannot submit it to batch as then get this error msg.

Command STRPCO not allowed in this setting.
Error found on STRPCO command.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Evan Harris
Sent: Wednesday, October 15, 2008 6:04 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Run a .dtf from CLP

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


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take



a moment to review the archives at

http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take



a moment to review the archives at
http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing

list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.