cancel
Showing results for 
Search instead for 
Did you mean: 

File Processing

Former Member
0 Kudos

Hi,

We are using PI for one of our scenarios as simple File Transfer.  We are using NFS to pick  .HDR and .ZIP files and send it across using SFTP  adapter.

The requirement is such that the .DTA files must first be written followed by HDR.  The size of the .HDR is just 5kb whereas DTA files is relatively huge ranging from 24-50MB.

The only choice I have is to use two communication channels and schedule it with different timing.  Since it is going to run once a day, I can schedule one channel to pick up DTA at 10:00, after an hour will schedule it to pick up HDR.

Let me know if you guys have any other suggestions on this!

Regards

Anandh.B

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Since you are using NFS, you might want to check the blog of Mickael for that, see solution N1 which makes the polling of the file adapter go one by one

http://scn.sap.com/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-...

Hope this helps,

Mark

Former Member
0 Kudos

Mark,

The solution prescribed in Michaels blog works perfectly.

Although the channel becomes red as it mentions it can't able to find a directory called <NOTHING>. I am using message protocol as File rather than FCC.

Regards

Anandh

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

You can replace that with the actual directory you are polling from.

Regards,

Mark

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi AnandhaKrishnan,

I have thought, but i dont check it, that you could use the option Defining Operating System Commands Before/After Message Processing and modificate .HDR timestamp for example  with "touch  filename" in linux and choosing before message processing. Later you could use Processing Sequence "By Date" in order to take the files.

Regards.

Former Member
0 Kudos

Hello Inaki,

I would suspect it is not the issue with picking up the files. Even though I have used the OS commands to modify and pick up the HDR file, what will be the guarantee that the receiver adapter has finished the .DTA file.

There is no trigger mechanism for me to tell PI that DTA file transfer is done and now pick up HDR file.

Regards

Anandh.B

iaki_vila
Active Contributor
0 Kudos

Hi,

Have you tested the "Exactly Once In Order" under quality of service?

Regards