on 2012 May 07 11:37 AM
Hello everyone
I need a help from all, can anyone please tell me how can we give a name for multiple files in single Variable .
Actually am doing the work where if a file is exists it will move in to one folder and if not the job should not faille instated of it will send a SMPT as a mail function.
For this am done in I) declare 2 variable one is file path and 2nd one i have to give multiple file
II) after that am in a WF-->Conditional Block Declare if file is NOTNULL then enter in to if Block there am Declare My DF. in Else Block am Capt the one script.
Please Help me on this .
Thanks in adv.
You can put the file name and path in a single variable. Is the file name of same type like txt, xls etc? Then you can use wild cards to check for the file name.
$Global_Variable = 'path/*.txt';
You can also use file_exists() function to check the file name in the folder. file_exists() do not accept wild cards but wait_for_file() accepts wildcards and can be used for searching the file.
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks arun,
Actually i need help from u r side ... where am having 9 files if file is exists it will move in to one folder. if it is not then the job should not faille that file will enter in to another folder. i have multiple file for that how can decleare varables and how can i do this task
Sudheer,
This wiki should help you.
http://wiki.sdn.sap.com/wiki/display/EIM/Selective+Reading+and+Postprocessing
Arun
User | Count |
---|---|
68 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.