Originally posted by: repanzer1
The only adapter command for the File adapter is the path/filename, there is no option for trace (or anything else).
The only way to handle this issue really is to use the "VALID" and/or "FAIL" functions. If using it with "FAIL", the map will stop and give "30" error code and if you use "LASTERRORMSG", it will show "Adapter not found -99999" in the audit log, then you'll have to manualy figure out why the map can not write out the file. If you just use "VALID", it will put "Adapter not found -99999" in the field where the PUT statement executed.
There really are only two possible errors for file adapter; the path doesn't exist, or, the user that is logged in (or if the map is running under launcher/event server, the user name WTX runs under) does not have access to that path/the file exists with read only status. I can't recall if there's any other possible reasons.
-------------------------------------------------------------------------------------------------------------------------------------------------There are 10 types of people in this world. Those who understand binary and those who don't.
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender