Originally posted by: Staar
Using the IFD, I created 1 system containing 2 subsystems. Each subsystem contains 1 map. The first system contains a single map that uses the ftp adapter to get a directory listing from an ftp server on the input. In the output rule, it calls another map using the Run function to receive each file in the listing and place them in a Incoming folder, and a second map to delete them off the ftp server if the previous map was successful. If either of the maps fail it returns the step that failed and the lasterrormessage. This system runs perfectly.
The 2nd system contains a single map and waits for files to appear in the Incoming folder and calls a single validation map. The rule states:
=VALID(
IF(RUN("Valid_TPA_Input","-IF1 '" + GETFILENAME(FTP_Data) + "'")="0",
VALID(PUT("FILE","M:\Transfers\Drafts\files\Valid\" + SUBSTITUTE(GETFILENAME(FTP_Data),GETDIRECTORY(FTP_Data),""), FTP_Data),"Error Archiving File To Valid Directory."),
VALID(PUT("FILE","M:\Transfers\Drafts\files\Invalid\" + SUBSTITUTE(GETFILENAME(FTP_Data),GETDIRECTORY(FTP_Data),""), FTP_Data),"Error Archiving File To Invalid Directory.")),
"Error Running Valid_TPA_Input with File: " + GETFILENAME(FTP_Data) + " " + LASTERRORMSG())
This worked fine until I decided to make a copy of the 1st system and added it a 2nd time. After I made the copy, I updated the source to look at a different directory on the ftp server. These 2 systems function flawlessly. They check the ftp site every 30 seconds and place the files found in the Incoming folder. The Validate map, however, always returns: Error Running Valid_TPA_Input with File: <filelocation> Resource manager failure
What does 'Resource Manager failure' mean? I tried reverting back to just looking at 1 ftp folder but the same result occurred. When I run the map manually with the exact file it received from the ftp server, it completes successfully. I'm stumped.
Any ideas?
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender