Converting a nullable source to a non-nullable result

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

abc123
Premium Member
Premium Member
Posts: 605
Joined: Fri Aug 25, 2006 8:24 am

Post by abc123 »

Ray, I am just curious. When you say "metadata capture", aren't you talking about when Datastage compiler does the metadata capture during the outcome of the SQL?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not quite, I'm talking about when the running job queries the database server to verify the data types of each column, so that it can report data type mismatches. It's my understanding that, whenever a function or expression appears in the SQL, that the database server reports the column as nullable, since there is no metadata in the system tables to say that there is a NOT NULL constraint.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sreddy
Participant
Posts: 144
Joined: Sun Oct 21, 2007 9:13 am

Post by sreddy »

ABC123


After selecting the data, usually we are checking database connection; column definition of metadata is matching with base table. All these happened Oracle, ODBC, Sequential File stage except Hash File


As per my knowledge a copy of Table Definition (Meta Data) is holding in Stage level. When we compile it checks the mapping of job. When we are run the job then only it validates source definition with Target definition.

All the above information is as per my knowledge.....


abc123 wrote:Ray, I am just curious. When you say "metadata capture", aren't you talking about when Datastage compiler does the metadata capture during the outcome of the SQL?
SReddy
dwpractices@gmail.com
Analyzing Performance
Post Reply