Search found 55 matches

by Luciana
Mon Aug 06, 2007 1:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Julian to date format
Replies: 1
Views: 1373

Hi,

I tested both expressions below and they are working fine. Post the error of the log.

DateToString(StringToDate(Left('20070123',8 ), "%yyyy%mm%dd"), "%yyyy-%mm-%dd")
DateToString(StringToDate(Left(in.DateInteger,8 ), "%yyyy%mm%dd"), "%yyyy-%mm-%dd")
by Luciana
Fri Aug 03, 2007 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with job design
Replies: 5
Views: 3329

Use the expression below when needs to begin starting from a specific value (Parallel Jobs) Initial value + (@PARTITIONNUM + (@NUMPARTITIONS * (@INROWNUM -1)) @PARTITIONNUM + (@NUMPARTITIONS * (@INROWNUM -1)) => this expression return count begin with 0 then if initial value = 20: 20 + 1 = 20 20 + 2...
by Luciana
Thu Aug 02, 2007 7:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DS install on different location than /home/dsadm
Replies: 2
Views: 1131

There isn't any disadvantage. I usually install in the structure below:

Installation : /dstage/product/
Projects : /dstage/projects/
Repository : /dstage/repository/

Attention for the permissions of the directory.

Code: Select all

drwxr-xr-x    6 dsadm    dstage       4096 Jan  1 12:04 dstage
by Luciana
Thu Aug 02, 2007 5:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Informix - Unable to initialize plug-in
Replies: 2
Views: 1351

I will post the solution of my problem here, this can help somebody with the same problem.

WebSphere DataStage is a 32-bit application. If you are running in a 64-bit environment, you must ensure any database clients you use are also 32 bit.

The problem was solved installing Informix Client 32 bit.
by Luciana
Thu Aug 02, 2007 5:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Surrogate Key
Replies: 13
Views: 4408

KeyMgtGetNextValue(Arg1) =================== - Routine to generate a sequential number. This routine does not support access to a particular sequence by more than one process concurrently. - The routine argument is the name associated with the sequence. - The routine uses a file to store the next av...
by Luciana
Thu Aug 02, 2007 4:45 pm
Forum: General
Topic: datastage command for environment variable
Replies: 2
Views: 1374

Hi,

Can be used the function GetEnvironment(%envvar%) in the transformer stage.

Code: Select all

GetEnvironment('APT_CONFIG_FILE')
by Luciana
Mon Jun 04, 2007 7:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aborting the job in transformer stage
Replies: 1
Views: 807

Aborting the job in transformer stage

Hi

I need abort my parallel job in Transformer Stage and send message to log.
Anybody could help me?

SF ---> Transformer ---> SF

In Transformer Stage I have stage variable varFlag = if in.field = -1 then 1 else 0
If varFlag = 1, I have to abort the job

Regards,
Luciana
by Luciana
Mon May 21, 2007 7:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Implicit conversion
Replies: 12
Views: 10913

Actual text of my conversion specification is: Specification: FXCRMCDPCC = substring[1,2] (FXCRMCDPCC) Specification: nowarn Thus the result is "01". I tried to use the string_from_decimal function together substring function but the job abort. Before (the result was "01.") Speci...
by Luciana
Sun May 20, 2007 1:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Implicit conversion
Replies: 12
Views: 10913

I don't have varchar, just char.

Source:
FILLER01 - Char(30)
FXCRMCDPCC - Decimal(2)
FILLER02 - Char(2)

Target:
FILLER01 - Char(30)
FXCRMCDPCC - Char(2)
FILLER01 - Char(2)
by Luciana
Sun May 20, 2007 12:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel Sort and RemoveDuplicates
Replies: 3
Views: 1568

Change the option Allow Duplicates in Sort stage to False for remove duplications.

DataSet--------->Sort ---------->DataSet
by Luciana
Fri May 18, 2007 7:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Implicit conversion
Replies: 12
Views: 10913

Hi Ray

I added an extra Specification containing the single word NOWARN and the job that convert Integer to String finished with success (no warning), but the job that convert Decimal to String finished with warning.

Thank you,
Luciana
by Luciana
Fri May 18, 2007 11:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Implicit conversion
Replies: 12
Views: 10913

I used the transformer stage and the job finished with success, but I thought that the modify stage was more suitable. Interger(2) -> Char(2) ---------------------- Modify : FXCRMCDPCC:string[2] = FXCRMCDPCC Conversion : ok Status : Finished (see log) Log : Modify_12: When checking operator: When bi...
by Luciana
Fri May 18, 2007 8:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Implicit conversion
Replies: 12
Views: 10913

Modify Stage - Implicit conversion

Hi I am trying to configure the modify stage. The job execute with success, but with warning in log: Modify_12: When checking operator: When binding output schema variable "outRec": When binding output interface field "FXCRMCDPCC" to field "FXCRMCDPCC": Implicit convers...
by Luciana
Sun Mar 25, 2007 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Informix - Unable to initialize plug-in
Replies: 2
Views: 1351

Informix - Unable to initialize plug-in

Hi I am trying to configure a native connection with the database Informix, but when trying to import table definitions returns Unable to initialize plug-in. dsenv file: INFORMIXDIR=/home/informix7; export INFORMIXDIR INFORMIXSERVER=u01r_rede; export INFORMIXSERVER LIBPATH=$LIBPATH:$INFORMIXDIR/lib:...
by Luciana
Thu Sep 07, 2006 7:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Failed to open project - Status code = 81011
Replies: 7
Views: 6778

Yes, I sought, but the problems that return the code 81011 are related to the connection with DataStage GUI. I am connecting in the project for DataStage GUI.

I believe that the problem is in the installation, if it doesn't have as to repair, I will have to re-install.

Thank you