Yes it need the pipeline ,because it is making our process faster,
We are basically looking for error exit status after each command . Actually when we are running the script our job is not capturing the failed exit status code after each command. while running whole of the process and it is giving status exit code 0
For example I have changed the setting file '
tranfrmr_p6.stx' and there is some syntax error or suppose i have changed the input file name in the file
than process should get exited with error code,but successor get run.
Please find the snapshot shot of log when the process is running .
Quote:
STEP : p6_tranfrmr_log.txt
--------------------------------------
Fri Jun 8 06:23:29 2012 - Opening Transformer process.
----------------------------------------
STEP : p7_srtforrl_log.txt
--------------------------------------
Fri Jun 8 06:23:29 2012 - Opening TSQSORT process.
Fri Jun 8 06:23:34 2012 - Closing TSQSORT process.
--------------------------------------------
In above case STEP :P6 is not able to process the input file so it skipped and moved the next sucessor process
STEP : p7_srtforrl
Also please find the content of the setting file (tranfrmr_p6.stx) .
Please find top and last content as it is a very long xml code
Quote:
<CATEGORY>
<INPUT>
<PARAMETER>
<INPUT_SETTINGS>
<ARGUMENTS>
<ENTRY>
<ENTRY_ID>1</ENTRY_ID>
<FILE_QUALIFIER>us_winkey_p6</FILE_QUALIFIER>
<DATA_FILE_NAME>stdin</DATA_FILE_NAME>
<DDL_FILE_NAME>$(DDL)/us_winkey_p5.ddx</DDL_FILE_NAME>
<FILE_DELIMITER/>
<USE_QUOTES_AS_QUALIFIER/>
/ ** Long XML code */
</OUTPUT>
<PROCESS>
<PARAMETER>
<PROCESS_SETTINGS>
<ARGUMENTS>
<PROCESS_LOG_FILE_NAME>$(LOGS)/p6_tranfrmr_log.txt</PROCESS_LOG_FILE_NAME>
<ENABLE_DEBUG_OUTPUT>0</ENABLE_DEBUG_OUTPUT>
<DEBUG_FILE_NAME>$(DEBUG)/p6_tranfrmr_debug.txt</DEBUG_FILE_NAME>
<MASK_FILE_NAME>$(GENERAL_RESOURCES)/maskfile$(PLAFEXT)</MASK_FILE_NAME>
<STRSUB_TABLE_FILE_NAME>$(GENERAL_RESOURCES)/strsub$(PLAFEXT)</STRSUB_TABLE_FILE_NAME>
</ARGUMENTS>
</PROCESS_SETTINGS>
</PARAMETER>
</PROCESS>
<STATISTICS>
<PARAMETER>
<STATISTICS_SETTINGS>
<ARGUMENTS>
<STATS_FILE_NAME>$(STATS)/p6_tranfrmr_stats.txt</STATS_FILE_NAME>
</ARGUMENTS>
</STATISTICS_SETTINGS>
</PARAMETER>
</STATISTICS>
</CATEGORY>
</TRANFRMR>