Originally posted by: anuaspriya
Ok. Here is my problem:
1) We have a location where we are copying a file using -OF2 adapter using "OF2"+location. Say location is filled up as part of output card 2. Now at output card 7, we want the insertion into one of the tables, if this file is completely copied. If file is completely copied, then we give call to functional map, which do insertion in table. If condition is false, what I want is to check for this IF condition, until and unless our file is completely copied to that location. Am I clear with this?
2) Also, -OF2 tries to copy an xml file at that location. I am not sure how -OF2 copies the file, if it do line by line, then we need can check for last nodes of xml using XPATH. If -OF2 copies the file in one go (means, either the file will be there in that location, or it won't be there at all, means partial file will never be there), then we can simply put a check of PRESENT(file) in our IF condition.
Thanks,
Anupriya Gupta
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender