on 09-10-2013 7:08 PM
Hi Experts,
I had a small query regarding sender file adapter.. I have a requirement where the sender fiel adapter should pick up the file only after the file has been completely constructed by the external application...
We are facing issues where PI is picking up the file from the location before it has been completely constructed.. hence data is being lost..
Kindly share your thoughts.
Regards,
tauseef
Hi Ibrahim,
Msec to wait does not work on FTP protocol and usually Pi connects to FTP than NFS.
If Legacy application is a Unix/ mainframe based application, they can add time stamp to the filename at the end of code or run a small script after completion of file. At PI we can use relavant file mask and ensure file is picked after it is written completely.
Regards,
Pranav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Ibrahim,
Although Msecs check suggested by Baskar is a solution, you can also request the third party (if capability exists) to use temporary file option. So the file while being written is created with name <filename>.temp and when end of file is reached, it is assigned the actual file name. Your file adapter can subsequently pick the specific file name.
Hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ibrahim,
Alternatively you can time the availability of the channel at specified time through channel configuration.
Please refer below link for help regarding it:
http://help.sap.com/saphelp_nwpi71/helpdata/en/46/ad6cfeb5492a86e10000000a1553f6/content.htm
thanks and reagards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ibrahim,
In additional parameters in the adapter configuration, set the Advanced Mode indicator.
Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
This parameter is not available if you have selected File Content Conversion as the Message Protocol and then made an entry under Recordsets per Message that splits an input file into several messages.
This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
Reference:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to Advanced tab in file adapter and set Msecs to Wait Before Modification Check . This will help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.