Originally posted by: ediX12HIPAA
Hi,
Please help.
in WTX 8.2 old code, I have the rule coded like this to archive a file to a different directory:
valid (GET("bat"," -t iarchive837v5.mtr -a iarchive837v5.log -cmd '%script_dir%copier.bat "+ mfdir Field:set2Run:Outwork+
setMFname Field:set2Run:Outwork + " "+
SUBSTITUTE (mfdir Field:set2Run:Outwork ,"merc_to_mf","archive\merc_to_mf") + setMFname Field:set2Run:Outwork),
"Failed archiving 837 mainframe file from m2mf to data_archive - Error code: " + LASTERRORCODE( ) + " -- Message: " + LASTERRORMSG( )))
WTX 8.2 ran fine, no issue.
I am upgrading to WTX 8.4.0.3, same code as above, I have return code of "Error code: -6 -- Message: Error_executing_command". I don't understand why.
The "log" file told me return code of "1". I attach both "trace" and "log" files here
Currently, WTX 8.2 uses 32 bit. WTX 8.4.0.3 is 64 bit Windows Server 2008 R2 Enterprise Service Pack 1
Is it memory issue? or something else?
Please advise what was wrong with my code.
Thanks.
ediX12HIPAA
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange