Posted on 2004-09-30
We are migrating some scripts that run on the Cold Fusion scheduler but the scripts that use the AS400 upload command have issues. The CFM code that is being called in the scheduler is:
as400.bat is the following:
Note running this .bat file works perfectly.
When I run the CFM file it usually stalls for a long time. I see the process "rfrompcb" running in the background and the only way to fix the stalling is to terminate the process. Usually before I do this, "output.txt" cannot be opened. After I cancel this process, the txt file shows:
IBM AS/400 Client Access Express for Windows
Version 5 Release 1 Level 0
Transfer data to AS/400
(C) Copyright IBM Corporation and Others 1984, 2000. 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
Note if it DID work it should append "Send Successful" to the end.
I am really baffled by this and Ive tried various things including using the 3rd part cfx_exec component and setting the IUSR_compname in the permissions in dcomcnfg.