There are 10 flat files; out of 10 files 1 file is empty. How do you identify the empty file? How can you load all files into targets?



There are 10 flat files; out of 10 files 1 file is empty. How do you identify the empty file? How ca..

Answer / harleen65

if [[ -s $FILE ]] ; then
echo "$FILE has data."
else
echo "$FILE is empty."
fi ;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Informatica Interview Questions

How can you increase the performance in joiner transformation?

0 Answers  


replace multiple spaces with single space.

3 Answers   IBM,


What is update strategy transform?

0 Answers  


Find a way to implement the following logic : You have column like : Column 1 AA|BB|CC DD|EE|FF WW|AA I need to get the length of the column without the ‘|’ .

5 Answers  


what is shortcut in informatica? difference between shortcut,reusable object?

2 Answers   Virtusa,






I have a scenario with lookup table. in that lookup table have colomns, but i need to process only 10 colomns out of 50. Please te me how can we acheive it?

6 Answers   TCS,


without using rank transformation how can we rank items by using some other transformations

2 Answers  


What are Rapid changing dimensions?

1 Answers  


What is union transformation?

0 Answers  


How many numbers of sessions can one group in batches?

0 Answers  


draw informatica architecture 8.6 ?

0 Answers   Cognizant, TCS,


How to use Normalizer transformation?

2 Answers  


Categories