RE: Stupid cfexecute

2001-12-06 Thread lsellers

At 01:55 PM 12/6/2001 -0500, you wrote:
>I just tried it without a timeout value and it goes through but the program
>doesn't work. I have tried calling it through cmd.exe and it does not return
>more than 2000 characters. It just doesn't seem to work with CF 5. Rmtcmd
>sends a remote command to the AS/400 for processing.

It may or may not may any difference... but I did make a c++ clone of 
cfexecute called CFX_Execute several months back. I've never specifically 
tested it for string length limits, but I did once tell it to DIR *.* /s a 
40gb drive and it was a bloody long browser listing, so :)

Whether or not it will help with your other problems I can't say, but you 
can give it try if all else fails.

Oh. almost forgot: http://www.intrafoundation.com/freeware.html#cfx_execute.

--min
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Stupid cfexecute

2001-12-06 Thread Jamie Jackson

How about writing a batch file which runs your command and then pipes
the results to your output file?
==
//10.100.100.1 SBMJOB CMD(CALL PGM(DIXOBJ73/JD40211ZP)
PARM('01514')) inllibl(*JOBD) JOB(JD40211ZP) JOBD(QGPL/BTOBTEST)
JOBQ(QGPL/BTOB) > d:\output3.txt==

You could then run your batch file from 
(name="c:\\robert\mybatchfile.bat"), skipping the cmd.exe/rmtcmd.exe
part.

I may have overlooked something, but I think this would work.

Jamie

On Thu, 6 Dec 2001 13:55:19 -0500, in cf-talk you wrote:

>I just tried it without a timeout value and it goes through but the 
program
>doesn't work. I have tried calling it through cmd.exe and it does not 
return
>more than 2000 characters. It just doesn't seem to work with CF 5. 
Rmtcmd
>sends a remote command to the AS/400 for processing. 
>
>Robert Everland III
>Dixon Ticonderoga
>Web Developer Extraordinaire
>
>-Original Message-
>From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 06, 2001 1:36 PM
>To: CF-Talk
>Subject: Re: Stupid cfexecute
>
>
>Two questions:
>
>*Have you tried it without the timeout attribute?
>*Have you tried name="c:\\winnt\system32\cmd.exe" (admittedly, I don't
>know what rmtcmd.exe is)
>*How much data does this return when done at the command line? (A
>reply to one of my old posts follows)
>>Actually, there is an "undocumented feature" in CF that prevents 
>>cfexecute from returning more than about 2000 characters. If you have 
>>been hit by this feature can be determined by opening the taskmanager 
>>and looking for any instances of the process that appear dead but can't
 
>>be killed except by rebooting. - Jochem
>
>Good luck,
>Jamie
>
>On Thu, 6 Dec 2001 11:51:53 -0500, in cf-talk you wrote:
>
>>Can anyone find anything wrong with the syntax of this. It keeps timing
 
>out
>>on me. This is CF 5, it works fine in 4.5
>>
>>
>>  >  arguments="#executearguments#"
>>  outputfile="d:\output3.txt"
>>  timeOut="30">
>>  
>>
>>Robert Everland III
>>Dixon Ticonderoga
>>
>
>
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Stupid cfexecute

2001-12-06 Thread Adrian Cesana

One way around this would be to use the cfExecute to schedule an AT job
(look into the SOON.EXE to make this easier) which could process a CMD or
BAT script that does the RMTCMD.

-Adrian


-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:55 AM
To: CF-Talk
Subject: RE: Stupid cfexecute


I just tried it without a timeout value and it goes through but the program
doesn't work. I have tried calling it through cmd.exe and it does not return
more than 2000 characters. It just doesn't seem to work with CF 5. Rmtcmd
sends a remote command to the AS/400 for processing.

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Stupid cfexecute

2001-12-06 Thread Robert Everland

I just tried it without a timeout value and it goes through but the program
doesn't work. I have tried calling it through cmd.exe and it does not return
more than 2000 characters. It just doesn't seem to work with CF 5. Rmtcmd
sends a remote command to the AS/400 for processing. 

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Jamie Jackson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:36 PM
To: CF-Talk
Subject: Re: Stupid cfexecute


Two questions:

*Have you tried it without the timeout attribute?
*Have you tried name="c:\\winnt\system32\cmd.exe" (admittedly, I don't
know what rmtcmd.exe is)
*How much data does this return when done at the command line? (A
reply to one of my old posts follows)
>Actually, there is an "undocumented feature" in CF that prevents 
>cfexecute from returning more than about 2000 characters. If you have 
>been hit by this feature can be determined by opening the taskmanager 
>and looking for any instances of the process that appear dead but can't 
>be killed except by rebooting. - Jochem

Good luck,
Jamie

On Thu, 6 Dec 2001 11:51:53 -0500, in cf-talk you wrote:

>Can anyone find anything wrong with the syntax of this. It keeps timing 
out
>on me. This is CF 5, it works fine in 4.5
>
>
>  arguments="#executearguments#"
>   outputfile="d:\output3.txt"
>   timeOut="30">
>   
>
>Robert Everland III
>Dixon Ticonderoga
>

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Stupid cfexecute

2001-12-06 Thread Jamie Jackson

Two questions:

*Have you tried it without the timeout attribute?
*Have you tried name="c:\\winnt\system32\cmd.exe" (admittedly, I don't
know what rmtcmd.exe is)
*How much data does this return when done at the command line? (A
reply to one of my old posts follows)
>Actually, there is an "undocumented feature" in CF that prevents 
>cfexecute from returning more than about 2000 characters. If you have 
>been hit by this feature can be determined by opening the taskmanager 
>and looking for any instances of the process that appear dead but can't 
>be killed except by rebooting. - Jochem

Good luck,
Jamie

On Thu, 6 Dec 2001 11:51:53 -0500, in cf-talk you wrote:

>Can anyone find anything wrong with the syntax of this. It keeps timing 
out
>on me. This is CF 5, it works fine in 4.5
>
>
>  arguments="#executearguments#"
>   outputfile="d:\output3.txt"
>   timeOut="30">
>   
>
>Robert Everland III
>Dixon Ticonderoga
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Stupid cfexecute

2001-12-06 Thread Robert Everland

Can anyone find anything wrong with the syntax of this. It keeps timing out
on me. This is CF 5, it works fine in 4.5





Robert Everland III
Dixon Ticonderoga
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists