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

How to create or import flat file definition in to the warehouse designer?

604


How do you load alternate records into different tables through mapping flow?

1280


What is the main purpose of Unconnected lookup other than updating slowly changing dimensions? or In which case u use Unconnected lookup?

6387


What is decode in static cache?

584


Describe expression transformation?

626






How to Create a folder using pmrep command?

614


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

542


What are the advantages of informatica?

562


waht type of interface is used for testing the data in informatica

1826


difference between repository database and repository service?

611


What is pmcmd command?

664


in reporting we add some new objects,how we get the count of the newly added objects to the report

1737


in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use

1639


What is powercenter on grid?

686


What is a predefined event?

650