Originally posted by: SystemAdmin
Windows Server 2003
Mercator 6.7.1
Does anyone have any idea why a program (Expedite Base for Windows)
that runs fine when called from a batch script called from a map rule
in Mercator map running under the Event Server under Windows NT on
old hardware fails to even execute under Windows Server 2003 on
newer, much faster hardware. All pieces work independently. That
is, I can execute the map, the script, or the external program and,
in each case, connect to GXS successfully. But the external program
fails to even execute under the Event Server on the new system.
I have confirmed that the .MSD, .ini, .bat, .mmc files are identical
on both the old & new systems.
Map rule call:
GET("BAT", "C:\expedite_out\ExpediteOUT.bat " + Generic Field [1]:SendToVan )
ExpediteOUT.bat Batch Script: (The called map fails as IF2 is missing due to the
failure of iebase.exe to execute.)
@ECHO OFF
cd\expedite_out
iebase.exe
C:\Mercator6.7\mercnt.exe C:\IAA_EDI\VAN_CommMaps\StatChk_ReformatOUT.mmc -IF1 C:\CommMgr_MailOUT\Mail_out.new -IF2 C:\expedite_out\baseout.msg -B
move baseout.msg c:\ExpediteTrace\PUT\PUT_%1.txt
Echo Complete
The batch trace file:
Mercator Batch File Adapter, Version 6.7(306)
Copyright © 1997-2000, TSI International Software, DBA Mercator Software
Built for WIN32 - INTEL on Jun 25 2003 at 20:38:31 by bocabuild.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Will process 9 bytes of data.
Run Started at 13:21:49.387 on 07/11/08.
Options used: cmd,trace,name
Poll Count is 0. Timeout Interval is 0.
Will receive data from standard output pipe.
Executing Command: C:\expedite_out\ExpediteOUT.bat
Window Style is SW_HIDE (0).
Getting standard input handle.
Standard input handle is 000003b8.
Process 1852 Created.
Reading from Standard Error...
stdin reading is being processed by thread 3800.
...0 bytes read from Standard Error.
Reading from Standard Output...
...282 bytes read from Standard Output.
Reading from Standard Error...
...0 bytes read from Standard Error.
Reading from Standard Output...
...0 bytes read from Standard Output.
Reading from Standard Error...
...44 bytes read from Standard Error.
Reading from Standard Output...
...111 bytes read from Standard Output.
Reading from Standard Error...
...0 bytes read from Standard Error.
Reading from Standard Output...
Command Executed Successfully.
Read 393 bytes from standard output pipe.
Run Completed at 13:21:51.902 on 07/11/08.
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender