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

Describe the impact of several join conditions and join order in a joiner transformation?

0 Answers  


Can we make worklet inside worklet?

1 Answers  


.prm wirh repalce .txt is possible?

2 Answers  


How can i set break points in debugging mode ? can explain steps please?

1 Answers   ABC, TCS,


,if we have single SQ in flow and we have router in which it has two group and we want to join these two groups with joiner ?is it possible?

3 Answers   Emphasis,






Plz can any one say me how to get the informatica certification materials and dumps

0 Answers   TCS,


I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

0 Answers  


In EMP table, for those emp whose Hiredate is same, update their sal by "sal+500" or else for others keep the sal as it is, how to do it by SQL query

8 Answers   Cap Gemini,


what is the difference between Informatica7.1 & informatica 8.1

4 Answers  


why we r using presql&postsql in source qualifier?

1 Answers   HP,


TWO FLAT FILES ARE THERE , EACH HAVING NO MATCHING COLUMNS . HOW CAN U JOIN THESE TWO USING JOINER TRANSFORMATION ?

6 Answers   HP, TCS,


What is informatica metadata and where is it stored?

0 Answers  


Categories