on 08-04-2011 11:36 PM
Hi All,
As I am new to XI,
I am using XI 3.0,
My scenario is File ->XI-> File.
This is just a pass through data that is no IR objects.
I need to pick the file from App server(AL11) of R/3 sys , we have a dir as "/sai/output"
so in order to pick file from the App server of R/3 sys using NFS,
the dir "/sai/output" is mounted into the App server(AL11) of XI ie.., there is a same dir in AL11 of XI as "/sai/ouput".
so when ever the file(sai.txt) is placed in the "/sai/output" in r/3 App server , i am able to see the file(sai.txt) in the "/sai/output" in XI App server.
what i am trying to do is pick the file(sai.txt) and place the file(kumar.txt) it in same dir " /sai/output" of XI Appserver using NFS.
sender cc parameters are like these :
Transport protocol : NFS
source dir : \sai\output\
filename : sai.txt
Qos : Exactly once
Poll intervel : 10sec
processing mode : delete
Receiver cc parameters are like these:
Transport protocol : NFS
target dir : \sai\output\
filename : kumar.txt
So my questions are
1) can i place the file in App server (AL11) dir "/sai/ouput" of XI where i am picking the file it from the same location ie.., App server (AL11) dir "/sai/output"
2) If so, the procedure(cc parameters) which i have shared is correct.
Correct me if am wrong.
Thanks
Sai
Hi
The configuration aprameters are correct so if you want use same directory to pick and place .
then its better fixed filename for sender and while placing place with time stamp.
Regards
sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Mention the same path name in the archieve option with change in name of the file or i will be recursive.
2. Or just use multiple locations option in target directory and dump whereevr you want with new file name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sai,
sender cc parameters are like these :
Transport protocol : NFS
source dir : \sai\output\
filename : sai.txt
Qos : Exactly once
Poll intervel : 10sec
processing mode : delete
Receiver cc parameters are like these:
Transport protocol : NFS
target dir : \sai\output\
filename : kumar.txt
I think the source dir should be /sai/output and target dir should be /sai/output. The slash is in reverse direction , so I think the files are not being picked up at all. So you are only seeing the same files in same place.
regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi anup,
-
> I think the source dir should be /sai/output and target dir should be /sai/output.
I even tried in this way as well as "\sai\output" . but the file is not picking and placing
or it should be in this way "\sai\output\".
Whether i need to have read, write permissions to that directory?
How to know whether i have the read, write permissions to the dir.
i am able to see the contents in the dir.
Thanks
Sai
Edited by: sai_SHA on Aug 5, 2011 4:03 PM
Hi Sai,
The files need rwx bits to be set before being picked up by channel
Thus you need to use "chmod +777 sai.txt" before the file is picked up.
Thus you can try set up the parameter "operating system command before processing" to "chmod +777 sai.txt" in the channel.
you can look into this link for setting this parameter
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
How are you accessing the file directory? if you are using WINSCP, you can right click on the file and check the read, write, execute bits on for the file.
"/out/output " is perfectly ok for UNIX/LINUX operating system.
Now in RWB pls check the polling of communication channel.
and check in SXMB_MONI whether some messages are being received or not.
regards
Anupam
Edited by: anupamsap on Aug 5, 2011 1:01 PM
Hi Sai,
Yes, you can do that and the config looks ok. But ideally you should not use same directory for both inbound and outbound files.
Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.