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 > ><cfset executearguments = "//10.100.100.1 SBMJOB CMD(CALL >PGM(DIXOBJ73/JD40211ZP) PARM('000001514')) inllibl(*JOBD) JOB(JD40211ZP) >JOBD(QGPL/BTOBTEST) JOBQ(QGPL/BTOB)"> > <cfexecute name="c:\winnt\rmtcmd.exe" > arguments="#executearguments#" > outputfile="d:\output3.txt" > timeOut="30"> > </cfexecute> > >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