on 01-12-2015 1:19 PM
Hi Expert,
we have a scenario in which PI will pick file from application server and just pass it to target FTP.
As per requirement, we need to add extension as .ok in the file name.
We used below OS command for this which is placed on application server.
We are running this command before message processing so that PI picks it after extension is added.
The issue is, our sender file channel executes the OS command properly and adds the extension to file name, but it doesn't process the file.
If we skip OS command, it is processing the file.
Please share your thoughts.
Regards,
Vikram
Hi,
There was a timeout error in channel.
It is working fine now.
Thanks for your input.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
Could you paste your channel logs when you run with script so that we would be able to suggest.
Thanks,
Naveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have never tried it but seen this in some thread suggesting to use the setting in communication channel as mentioned below.
Before I show the setting you need to remove the OS command from sender channel, enable the ASMA setting for file name in sender channel.
Now in your receiver channel also enable the ASMA settings for file name. Under Target tab in "File Name Schema" put %f%.ok
Hope this works for you.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
maybe is some authorization problem, like the OS command changes authorization on file.
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.