on 06-10-2014 2:59 PM
HI ,
I want to select multiple files from same source directory. using Advance selection for source file we can same source directory and specify other files .Is it the correct way or using option addition files we can achieve this ?
CC parameters:
Eg: I want to send abc1.dtd,abc2.dtd,abc3.DTD,abc4.dtd files from same source directory
source directory : /source
file name : abc1.dtd
under advance selection for source file :
Directory FilenameMask
/source abc2.dtd
/source abc3.DTD
/source abc4.dtd
is it the way to process all 4 files from source directory?
i cant put abc*.dat as other files also will be there in source folder and i want to send these 4 files only and if any file named with in these 4 it need to process. please suggest is it the correct way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Ideally Advance selection option is used for picking files from multiple source directories.
Does your source directory has files, you want to exclude? If not, use abc*.DTD ...simple!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to process abc1.dtd,abc2.dtd,abc3.dtd,abc4.dtd only and rest need not to process.
so i want to achieve this using Advance selection option. is it the correct option?
some times files will come as abc1.DTD,abc2.dtd also .
i cant put abc.* as other files which having same file name but diff extensions as .gz so i cant able to use it.
will using advance selection option we can get this or any other option?
so one file name under channel parameters and rest 3 under advance selection. is it the way we need to configure.
another question if we say file name as abc3.DAT(in case sensitive mode) comes in between sequence PI will pick it up right? as we are mentioning .DAT config under advance selection.
another if we get only one file out of 4 we configured it will process that one only?
so one file name under channel parameters and rest 3 under advance selection. is it the way we need to configure.
AM - Yes
another question if we say file name as abc3.DAT(in case sensitive mode) comes in between sequence PI will pick it up right? as we are mentioning .DAT config under advance selection.
AM - File names are case sensitive, PI wont pick up abc3.DAT if abc3.dat is mentioned. You can have another parameter for this case.
another if we get only one file out of 4 we configured it will process that one only?
AM - yes
Cheers
Ambrish
as am mentioning under advance selection as below then it will pick it up?
source directory: /source
filename :abc1.dtd
advance selection
directory filemask
source abc2.dtd
source abc3.DTD
source abc4.dtd
hope it will work if files will come in this format ?
Q.this is different scenario
what is the configuration if files comes in both formats .dtd and .DTD . with out using abc.* as i mentioned earlier with this other files will also picked up.
what need to be mentioned under file name parameter?
as am mentioning under advance selection as below then it will pick it up?
source directory: /source
filename :abc1.dtd
advance selection
directory filemask
source abc2.dtd
source abc3.DTD
source abc4.dtd
hope it will work if files will come in this format ?
AM - yes...
Q.this is different scenario
what is the configuration if files comes in both formats .dtd and .DTD . with out using abc.* as i mentioned earlier with this other files will also picked up.
what need to be mentioned under file name parameter?
AM - if files come as both .dtd and .DTD, both will be picked up.
Ambrish
what need to be mentioned under file name parameter?
AM - if files come as both .dtd and .DTD, both will be picked up.
aman- what is the configuration to do to pick up files comes in both formats i.e .dat and .DAT
is we need to do configuration like below
under file name : abc*.dat
advance options
source abc*.DAT
is it correct to pick up both formats.
as I checked when i mention under file name parameter as abc*.dat and files abc*.DAT was not picked up and abc*.dat files were processed.
note: i dont want to under file name as abc*.*
please suggest
Files will not pick in case of both .dtd and .DTD based on the file name only file will be picked as file name is case sensitive. you need to add one more parameter for .DTD.
source directory: /source
filename :abc1.dtd
advance selection
directory filemask
source abc2.dtd
source abc3.DTD
source abc4.dtd
source abc4.DTD
source abc2.DTD
source abc3.dtd
source abc1.DTD
Thanks,
Durga
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.