Search found 194 matches

by thurmy34
Wed May 31, 2006 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dealing with Unique Index after abort
Replies: 7
Views: 2498

DSguru2B,
The database is not generating the unique index.
The columns in it are datas like client number and creation date.

Thanks for replying,
by thurmy34
Wed May 31, 2006 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dealing with Unique Index after abort
Replies: 7
Views: 2498

Dealing with Unique Index after abort

Hi All I am inserting rows in table with the DB2/UDB api stage. The transaction size is set to 10000. If my job abort after the 32458 row, the first 32000 are in the database (due to the commit each 10000 rows). I can't clear the table before restarting the job. The way i found to protect myself is ...
by thurmy34
Wed May 31, 2006 5:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mainframe MVS File to SF/CFF stage. Values Incorrect
Replies: 4
Views: 4055

Hi
You have to do your ftp in binary mode.
by thurmy34
Tue May 23, 2006 4:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cobol data file
Replies: 13
Views: 3711

Hi,

Does anyone interested by a new version of the SwitchEBCDICSign routine ?
by thurmy34
Mon May 22, 2006 5:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Complex flat file - more than 1 Depending Occurs
Replies: 5
Views: 2374

Hi
Ray is (as always) right, check the CFF documentation, there is an example inside explaining how to handle the "double" occurs.
by thurmy34
Fri Apr 07, 2006 6:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: suggest best approach for doing this job..........
Replies: 9
Views: 2013

Ray,
I can't read the end of you message.
The reason of the sequencer restriction is that we want to write log outside the director and produce restart point .
We do this by using routine and job control.
by thurmy34
Fri Apr 07, 2006 5:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Error while importing data from csv and xls files.
Replies: 14
Views: 5802

Hi All

Maybe the cvs is not conform, for example if the last columns never had value the last ; may be missing.

I had this problem last month.
by thurmy34
Thu Apr 06, 2006 7:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: suggest best approach for doing this job..........
Replies: 9
Views: 2013

Chulett,

I don't think my solution is overly complicate i wrote it because in my projects sequencer are forbidden so i have to work with job control and Before/After Routine.

Your reply make me ask this :
Is $INCLUDE UNIVERSE.INCLUDE ODBC.H not ship with DS ?

Thanks
by thurmy34
Thu Apr 06, 2006 6:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: suggest best approach for doing this job..........
Replies: 9
Views: 2013

ketanshah123, I would do your actions in a job control. Try to connect to your database with this example of code: status = SQLAllocEnv(hEnv) status = SQLAllocConnect(hEnv, hConn) status = SQLConnect(hConn, DSN,USER,PWD) IF status =SQL.ERROR THEN call DSLogWarn("Database KO","TRACE&qu...
by thurmy34
Thu Apr 06, 2006 3:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cobol data file
Replies: 13
Views: 3711

Hi, To fill my needs more precisely I wrote my own version of the SwitchEBCDICSign. Function SwitchEBCDICSign(Montant) LMontant=Trim(Montant) Longeur=len(LMontant) Lien=LMontant[1,Longeur-1] Car=SEQ(Right(LMontant,1)) if num(LMontant) then Ans=LMontant else * Call DSLogInfo("Montant ":LMon...
by thurmy34
Wed Apr 05, 2006 8:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Hashed file
Replies: 6
Views: 2022

Stiwari

Do you check the format of the column?
Maybe you lose some 0 in numeric column.

Hope this help.
by thurmy34
Wed Apr 05, 2006 7:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cobol data file
Replies: 13
Views: 3711

WoMawill

Your function is great but can you be more explicit about its use.
Do you call it everytime ?
Is the null return an error or a no action needed flag.

Thank you.
by thurmy34
Fri Mar 31, 2006 9:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sub-Record occurs 6 times in main record....Cobol file
Replies: 8
Views: 2811

Anu, If you have a copybook,just import it in DS (without the comments) and load it in a CFF stage. The redefine columns will appear like regular ones. You have to pay attention if the redefine is include in a occurs. In that case the redefine column is set to the column of the first occurs. You can...
by thurmy34
Fri Mar 31, 2006 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extract COBOL file data using CFF
Replies: 7
Views: 5472

Hi,
Like Chulett said the comments realy confuse the CFF stage.
It's better to delete then.
I had some troubles with redefine in occurs too.
The redefines column was set to the first occurs.