Search found 8 matches

by ElBandido
Thu May 12, 2005 3:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: checking for null values
Replies: 7
Views: 4176

I guess you can recognise null values in such a file, when you find a zero length string between two TABs. In this case, I suggest to insert a transformer stage between your file and odbc stage, put your condition (say: IsNull(Field01) Or IsNull(Field02) and so on) in one of the output links, and ma...
by ElBandido
Thu May 12, 2005 2:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems inserting a row in a table with identity column
Replies: 10
Views: 14147

:o Many thanks for your suggestion, I will try as soon as possible. The form you suggest sounds new to me in user-defined SQL statements, I only knew it as Ascential self-generated code. However, I did not expect it could work when used as user-defined statement, and I did not find it anywhere in th...
by ElBandido
Wed May 11, 2005 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems inserting a row in a table with identity column
Replies: 10
Views: 14147

As my licence has not been renewed yet, I cannot access at the code at the moment. So we both must trust my memory. However code has the following form: INSERT INTO ds.dbo.Sheet (CustCode, JobCode, SrcFileName, SrcPath, TrgFileName, TrgPath, PostDate, SysTs, AcqDate, CustID, PrnLnName, DivName, JobI...
by ElBandido
Tue May 10, 2005 2:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problems inserting a row in a table with identity column
Replies: 10
Views: 14147

all: Thank you for your suggestions. Now I am waiting for DS licence renewal, then I will be able to try to apply them. Roy: Using a view is an interesting work-around: I will try it. Handling myself the identity column has not worked in any way: Insert row failed is the nicest error I get. :roll: ...
by ElBandido
Fri Apr 29, 2005 5:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: u_print_warning is not a member of APT_TOFunctions
Replies: 4
Views: 3616

Hi Larry, mine is not an assistance... just a thought. The tfmop_functions.h file on my system DOES contain the prototype of u_print_warning method of the class APT_TOFunctions. I am working on version EE 7.5 for Windows, but the maintenance log of the header file does not show any change related to...
by ElBandido
Tue Apr 26, 2005 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting data in SQL table & retrieving its id column v
Replies: 4
Views: 2091

OK, thanx.
I'll try to follow your suggestions.
Reg's
by ElBandido
Tue Apr 26, 2005 3:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting data in SQL table & retrieving its id column v
Replies: 4
Views: 2091

Hi Arnd,and thank you for your quick reply. Yes, I thought about something similar, my stage variable is ready to accept the value you mean and it would be glad to do it, but that poor variable itself cannot figure out how to retrieve the SQL-generated identity value. :wink: In addition, identity co...
by ElBandido
Tue Apr 26, 2005 2:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting data in SQL table & retrieving its id column v
Replies: 4
Views: 2091

Inserting data in SQL table & retrieving its id column v

Hi all, I am new to DataStage, and the following is my current scenario: 1) My input is a sequential file; 2) A transformer stage extracts info from the file's header, that are to be stored in an SQL Server table with an identity column called SheetID; 3) The file body contains records that are to b...