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")
Search found 55 matches
- 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
- 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...
- 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.
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
- 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
- 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...
- 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.
Can be used the function GetEnvironment(%envvar%) in the transformer stage.
Code: Select all
GetEnvironment('APT_CONFIG_FILE')
- 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
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
- 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
- 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
- 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
- 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
- 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...
- 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...
- 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:...
- 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