cancel
Showing results for 
Search instead for 
Did you mean: 

Source directory changed every month?

ravi_reddy1
Participant
0 Kudos

Hi Experts,

my scenario is File to proxy

message protocol for file adapter is NFS

according to my scenario every month is changed source directory...

for ex :

for this month my source directory is

Source Directory:\xyz\abc\1\daily

next month source directory is

Source Directory:\xyz\abc\2\daily

like that..

Source Directory:\xyz\abc\3\daily

Source Directory:\xyz\abc\4\daily

Source Directory:\xyz\abc\5\daily

-------------------------------------------------

-------------------------------------------------

Every month is changed...


Then in PI, i need to write any code.............or implementing JOB Shceduling?

please help me on this.........

Thanks&Regards

E. Ravi Chandra Reddy

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ravi,

Create a common directory to configure in communication channel and write and schedule a shell script to copy from the changed directories to common directory.

former_member187010
Participant
0 Kudos

Hi Ravi,

Can you try this and check.

In Sender channel use directory as \xyz\abc\*\daily. I am not sure if this works but give it a try.

Or

Make  use of Advanced Selection for Sender Channel.

Give at least 6 or 12 directory name like

\xyz\abc\1\daily     FileName

\xyz\abc\2\daily     FileName

\xyz\abc\3\daily     FileName

...

This would somehow help you to maintain entry once for a year.


Regards

Jitender

former_member184720
Active Contributor
0 Kudos

Hi Ravi - Any problem in changing manually once in a month?

if you want you can configure all the directories in the same channel using advanced selection option but if there any matching files available n those directories then they'll get processed..

File Sender Adapter - Polling Multiple Directories - Process Integration - SCN Wiki

ravi_reddy1
Participant
0 Kudos

Hi Hareesh..

thanks for quick replay..

that is one solution.......

but i need without  changing manually .........how to run this interface every month

Thanks & Regards

E. Ravi chandra Reddy