There may be scenarios that you need to execute one or more mapping from eniter workflow which may contains number of mappings.
Here is the way of doing that
dos2unix olapjoblist.properties
cd $INFA_HOME/bin/
while read line
do
test=$( ./pmcmd starttask -sv $INTEGRATION_SERVICE -d $DOMAIN_NAME -uv INFA_USER -pv INFA_PASS -f $FOLDER_NAME -paramfile $parameterFile -w wf_olapconsolidation -wait $line)
if [ "$?" != 0 ]; then
# handle error
echo "Summary: Could not execute task."
else
# no error
echo "Summary: Task executed successfully."
fi
echo "Error Code:$?"
echo "Description: $test"
done < $currentpath/olapjoblist.properties
so olapjoblist.properties if a file will all the session names with it
Here is the way of doing that
dos2unix olapjoblist.properties
cd $INFA_HOME/bin/
while read line
do
test=$( ./pmcmd starttask -sv $INTEGRATION_SERVICE -d $DOMAIN_NAME -uv INFA_USER -pv INFA_PASS -f $FOLDER_NAME -paramfile $parameterFile -w wf_olapconsolidation -wait $line)
if [ "$?" != 0 ]; then
# handle error
echo "Summary: Could not execute task."
else
# no error
echo "Summary: Task executed successfully."
fi
echo "Error Code:$?"
echo "Description: $test"
done < $currentpath/olapjoblist.properties
so olapjoblist.properties if a file will all the session names with it
1 comment:
Post a Comment