Page 1 of 1

Head & Tail Stage

Posted: Fri Jul 28, 2006 7:31 am
by nvalia
Hi,

Datastage PX:
Can we use the Development/Debug stages like the peek, tail , head in Dev only or we can use them during the UAT & Production environment too.
If No, why can we not use it?

Posted: Fri Jul 28, 2006 8:29 am
by ArndW
The answer to "can we use these stages" is yes. What you are really asking is "should we use these stages in a production environment" and the answer to that is not always straightforward. In most of the cases you will not want to add any non-essential overhead to a job in production so you should remove these stages from jobs when development is complete (remove in DEV, then promote). Sometimes the results are needed for further processing, for example if a head or tail value is read from the DataStage log by some other process. I haven't had this happen to me yet, but can envision it happening.
Generally it is correct to state that a debug or development type stage shouldn't be found in production.

Posted: Sat Jul 29, 2006 12:20 am
by kumar_s
If you go through the orchestrate manual, you may find as most of these stages inturns uses the unix Head, tail... comands.
For special cases like, capturing header or trailer records, you can use these staegs (if yor are not proficient in writing scripts in unix.)