on 07-08-2014 9:45 AM
Hi experts,
I have a receiver CC with File Transfer Protocol and File Content Conversion. This CC write files on an external AS400 server.
Files are created with "D"+DDDHHMMSS. I cannot change this filename convention.
Sometimes happens that 2 files are created in the same second (SS), so second file overwrites the first file.
It's possible to avoid that?
I need that PI throws a system error in this case.
I've tried to use:
put file: use temporary files
and
overwrite existing files not checked
but PI throws an error because the temporary file created is too long for AS400 (AS400 has max file name length=10 characters)
Thanks
Fabio
Hi Fabio,
You can try using Thread.sleep(1000); via UDF in mapping. It will delay file creation by 1 second.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.