Hello All,
We have different applications feeding on to Dataware house. We need to do a pre validation and post-validation of source data before it is really processed by datastage jobs.
Pre-validation should include : Reading of file name , file size, file structure, and file content data format.
Post-Validation should include : Jobs processed status , No of rows rewriten etc.,
Will be thank full if any one throw some light on this , Is there any way that datastage can be used to do the above requirement.
or any one experienced this and tried to get some light on this. Please advise.
Source Data Validation
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 24
- Joined: Sun Nov 13, 2005 6:14 pm
Source Data Validation
seethamsetty
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
You can use wc to get file size and number of rows. You easily write a routine to get these numbers. If you have fixed length records then it is a little more complicated.
The post stuff would need to use EtlStats or write your own routines or jobs to get the number of rows processed from the job. Do a search this has been covered a lot.
The post stuff would need to use EtlStats or write your own routines or jobs to get the number of rows processed from the job. Do a search this has been covered a lot.
Mamu Kim
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Source Data Validation
Why? What benefit will accrue? Are you just recording this information, or truly validating? What happens if a row in the file does not meet the specifications? What happens after that?seethamsetty wrote:We need to do a pre validation and post-validation of source data before it is really processed by datastage jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.