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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

hi friends ... i have insurance project(informatica),can you please tell me how many table and mappings we need to use?and explain me.. thank you

9172


Can I use same Persistent cache(X.Dat) for 2 sessions running parallely? If it is not possible why?If yes How?

1625


Differentiate between Load Manager and DTM?

1675


Target increases every day even though no new record was inserted

1111


What do you mean by blocking transformation?

589






Hi, I saw one mapping implemented by my seniors . In Expression transformation they implemented following logic. That is iif(is_date(in_UC_DATINV,'YYYYMMDD'),to_date(in_UC_DATINV,'Y YYYMMDD'),'Inventory Date is either invalid or null') Inventory_Date is validated only for is_date() But not validated for notisnull() . But error says “ either invalid or null “ why? Whether is_date() also check for not isnull() ? or in this logic something is different ? Please answer me . Advance thanks

1419


Explain pushdown optimization and types in informatica

672


what is diff b/t sorter t/r and agg have the option sorter property...

1748


What is enterprise data warehousing?

617


what is the Default Source Option For Update Strategy Transformation?

761


What are different types of transformations available in informatica?

590


Can one use mapping parameter or variables created in one mapping into any other reusable transformation?

601


What are the differences between oltp and olap?

553


Please tell me which institute is the best to study Informatica and asp.net in chennai Also please send me the latest interview questions in asp.net,c# and sql server to my id ramtryin@gmail.com

1594


How to differentiate between the active and passive transformations?

631