Search found 144 matches

by joycerecacho
Thu Apr 26, 2012 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Importing Sequential File error
Replies: 6
Views: 2476

The settings are:

Format:
Final Delimiter = none
Record Delimiter = UNIX newline

Field Defaults
Delimiter = Comma
Quote = double

All 'Varchar' are set as Extended = 'Unicode'

We are talking about a Unix file.
thanksss
by joycerecacho
Thu Apr 26, 2012 7:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Importing Sequential File error
Replies: 6
Views: 2476

Hi Chulett. The file is not a fixed-width one, it has delimiters between the fields. Follow the file structure: FIELD 1 ... integer (10) FIELD 2 ... char (25) - changed to 'varchar' FIELD 3 ... varchar (40) FIELD 4 ... integer (10) FIELD 5 ... char(15) - changed to 'varchar' FIELD 6 ... decimal (13,...
by joycerecacho
Mon Mar 05, 2012 12:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execution Time
Replies: 4
Views: 2409

Tks friend.

Can I do it inside the transformer, can I use this function inside the transformer?

I thought about read the universe table DS_JOBS through The stage Universe and then use this function inside the transformer, informing the jobname as the parameter.

Tksss!!

Best regards,
by joycerecacho
Mon Dec 05, 2011 9:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Oracle Cursor at Before SQL
Replies: 13
Views: 10063

Thank you, Chulett.
I marked this topic as 'Resolved'.

Best regards,
by joycerecacho
Fri Dec 02, 2011 12:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Oracle Cursor at Before SQL
Replies: 13
Views: 10063

I left it off and now the messages are: "Invalid SQL SELECT statement was entered"; "INSERT INTO DW.LKP_AREA_ATUAC_FUNC (func_area_atuac_cod,func_area_atuac_des) VALUES (99,'CANTINA') teste..Oracle_OCI_26.DSLink1: DSP.Open GCI $DSP.Open error -100."; "Attempting to Cleanup a...
by joycerecacho
Fri Dec 02, 2011 5:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Oracle Cursor at Before SQL
Replies: 13
Views: 10063

A FILE??

Do u think it is possible to execute an statement written in a Sequential File, for example?

Even it is a SQL and not PL/SQL. SQL is also interesting.
How would I do that?

Tkssssss a lot!!
by joycerecacho
Thu Dec 01, 2011 10:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running Oracle Cursor at Before SQL
Replies: 13
Views: 10063

Yeah, you are right, Chulett.

Actually my colleague would like to read a file - where the cursor statement was written in - and execute it somehow at the DataStage.

Do u think it is possible?

Thank you!!
by joycerecacho
Thu Dec 01, 2011 5:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to split a delimited string into rows?
Replies: 9
Views: 16232

Hi Guys, At the end of the story, I created a routine which counts the number of delimiters in a list and sums one. Example: Joyce, John, Mary Delimiters = 2 (+1) = "3" Then, I wrote a FOR loop starting from 1 and going until Delimiters quantity. Inside de Loop, it generates a string and b...
by joycerecacho
Wed Nov 16, 2011 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sub String in DS UV Query
Replies: 8
Views: 6406

Hello Guys!!! I found what was wrong!!!!!!! The parameter name was invalid actually. The parameter name is "MAXFETCHBUFF" and not "MAXFETCHBUFF SIZE "!! Now my job is running OK. Thanks for your help, Ray. My uvodbc.config is: [ODBC DATA SOURCES] <localuv> DBMSTYPE = UNIVERSE net...
by joycerecacho
Fri Nov 11, 2011 2:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sub String in DS UV Query
Replies: 8
Views: 6406

Ray, I wrote in the uvodbc.config: [ODBC DATA SOURCES] <localuv> DBMSTYPE = UNIVERSE network = TCP/IP service = uvserver host = 127.0.0.1 MAXFETCHBUFFSIZE = 16384 The error when I read my UV Query now is: DSD.BCIConnect connecting to localuv, call to SQLConnect failed. SQLSTATE=IM997, DBMS.CODE=0 [D...
by joycerecacho
Thu Oct 27, 2011 2:03 pm
Forum: General
Topic: Mapping Oracle Table Definitions
Replies: 10
Views: 8469

Oh ... really?
:-(

Do you know if there is another one with this features available in 7.x version?
I mean, one that describes the Table definition?

Thank you.

Best regards,
by joycerecacho
Thu Oct 27, 2011 12:25 pm
Forum: General
Topic: Mapping Oracle Table Definitions
Replies: 10
Views: 8469

Re: Mapping Oracle Table Definitions

Hello my friend. When I use the DSGetLinkMetaData function, it shows the following message: Array 'DSGetLinkMetaData' never dimensioned. 1 Errors detected, No Object Code Produced. Do you know what is happening? Is it necessary to mention a library like: $INCLUDE DSINCLUDE JOBCONTROL.H ?? Best Regar...
by joycerecacho
Wed Sep 28, 2011 7:51 am
Forum: General
Topic: WEOFSEQ Subroutine doesn´t work.
Replies: 3
Views: 2024

Actually I think I was not clear and you didnt get it. When the routine is called for the third time, the last register inserted is updated, and it happens every time the routine is called. In short, the file has always only two registers. Even if I call it thousand of times. Ex. If I call the routi...
by joycerecacho
Wed Jul 20, 2011 12:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot find record JOBPARAMINSTS in executable job file
Replies: 5
Views: 5818

Re: Cannot find record JOBPARAMINSTS in executable job file

Hey my friend,

I did a copy of my job and rescheduled it.
it worked.

Best Regards,
by joycerecacho
Mon Jul 18, 2011 6:44 am
Forum: General
Topic: DBMS.CODE=20548 [DataStage][SQL Client] [UNIVERSE] Aborting!
Replies: 2
Views: 2673

ray.wurlod wrote:

Code: Select all

SELECT MESSAGE FROM SYS.MESSAGE WHERE @ID = '020548';
reveals that this code is the generic message "Aborting", which doesn't help very much.
My friend,
Thank you for your help!!
Yeap, the message is not that clear, I agree. Actually is not clear at all.

Best Regards,