I have a simple map that puts a file into a subdirectory depending on a value of an item. The map blows up every time I run it. I have renamed the map, created a new map, deleted the map and renamed the .bak file, added an extra output card, changed the output from sink to file, etc. and the map continue to blow up. This happens both in Map Designer and the Launcher.
Message "Map Designer for Windows has encountered a problem and needs to close"
Windows XP Service Pack 2
Version 8.1.0.2
I changes the rule to just list the output path and the map continues to fail.
=GETDIRECTORY( X12_Interchange ) + IF( App'nRcv'rCd Element:GS Segment V4010:#276<>F4010<>Inbound Partner Funct'lGroup ANSIartner X12 Inbound Interchange:X12_Interchange="BCCP", "BCCP\", "ACAPS\" ) + TRIMLEFT( GETFILENAME( X12_Interchange ), GETDIRECTORY( X12_Interchange ) )
//=VALID( PUT( "FILE", GETDIRECTORY( X12_Interchange ) + IF( App'nRcv'rCd Element:GS Segment V4010:#276<>F4010<>Inbound Partner Funct'lGroup ANSIartner X12 Inbound Interchange:X12_Interchange="xxx", "xxx\", "Abcd\" ) + TRIMLEFT( GETFILENAME( X12_Interchange ), GETDIRECTORY( X12_Interchange ) ), TEXT( X12_Interchange ) ), FAIL( "Arc_RouteTransaction.mmc failed to rename file. " + GETFILENAME( X12_Interchange ) + LASTERRORCODE( ) + LASTERRORMSG( ) ) )
Message "Map Designer for Windows has encountered a problem and needs to close"
Windows XP Service Pack 2
Version 8.1.0.2
I changes the rule to just list the output path and the map continues to fail.
=GETDIRECTORY( X12_Interchange ) + IF( App'nRcv'rCd Element:GS Segment V4010:#276<>F4010<>Inbound Partner Funct'lGroup ANSIartner X12 Inbound Interchange:X12_Interchange="BCCP", "BCCP\", "ACAPS\" ) + TRIMLEFT( GETFILENAME( X12_Interchange ), GETDIRECTORY( X12_Interchange ) )
//=VALID( PUT( "FILE", GETDIRECTORY( X12_Interchange ) + IF( App'nRcv'rCd Element:GS Segment V4010:#276<>F4010<>Inbound Partner Funct'lGroup ANSIartner X12 Inbound Interchange:X12_Interchange="xxx", "xxx\", "Abcd\" ) + TRIMLEFT( GETFILENAME( X12_Interchange ), GETDIRECTORY( X12_Interchange ) ), TEXT( X12_Interchange ) ), FAIL( "Arc_RouteTransaction.mmc failed to rename file. " + GETFILENAME( X12_Interchange ) + LASTERRORCODE( ) + LASTERRORMSG( ) ) )