on 02-02-2015 3:55 PM
1st interface is a pass through scenario
Sender system (S) sends 4 flat files data using (File adapter -NFS) to PI and PI places the files into PI file directory (AL11) using file NFS
The flow order of the eight files named as Ab,cd, ef,gh all files with .txt extension
Where gh.txt file will send as last file to PI
Arriving last file is the key note to trigger the second flow chain of the interface process
Flow 2 file to RFC.
Once the last file gh.txt arrived into PI folder location, the second flow will start functioning
gh.tx was used in sender communication channel because once this file arrives then we need to
Sender communication channel (processing mode set to read only) uses file name and reads file content and sends a request to RFC using message mapping.
RFC will trigger event in BW system to start the process chain to pick all the 8 files from the directory
Issue:
The files are getting placed with -rw-rw-r- - in AL11 at pass through scenario.
The file permissions are getting changed once we read the file from the second flow.
When the source system triggers the files again we are getting error in communication channel that file access is denied, is this because of file permissions?
will Set - to - ready only option in channel changes the file permissions at the folder location where we read the file?
How and why this file permission get changed?
we can change the permissions with UNIX script but need a root casue
please help with your valuable suggestions.
Hi Raj,
Hope your second sender channel is trying to pick the file while the file is being updated with your first flow.
would suggest you to give some value in Msecs to Wait Before Modification Check in your second flow sender comm channel and check.
Thanks and Regards,
Naveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raj,
Request UNIX admin to set correct mask.
FYI. The mask helps determine what initial file permission are. umask - Wikipedia, the free encyclopedia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
When the source system triggers the files again we are getting error in communication channel that file access is denied, is this because of file permissions?
The error could be for file permissions also it can be that the file is not already written you can avoid this last problem with the option Msecs to Wait Before Modification Check under Define Additional Parameters.
On the other hand i can't understand well your double scenario, why don't use only one scenario file - RFC?. If you want a file copy in the PI file folder you can use the option Archive under Processing Mode.
Regards.
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.