Search found 182 matches

by srimitta
Tue Sep 23, 2008 9:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append system date and time to a file name in Seq File Stag
Replies: 10
Views: 14059

Or you can pass Timestamp as part of File name ( FileName_#FILE_TIMESTAMP#.txt) dynamically from Sequencer job or Job Control job.
by srimitta
Tue Sep 23, 2008 9:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append system date and time to a file name in Seq File Stag
Replies: 10
Views: 14059

Or you can pass Timestamp as part of File name ( FileName_#FILE_TIMESTAMP#.txt) dynamically from Sequencer job or Job Control job.
by srimitta
Mon Sep 22, 2008 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Logic In Parallel Tansformer
Replies: 5
Views: 1654

2008-09-22 (YYYY-MM-DD) Create 3 stage variables svDATE -- svYYYY : '-' : svMMDD ( this will give you 2004-09-22) svYYYY -- 2008-09-22[1,4] - 4 = 2004 svMMDD -- 2008-09-22[6,5] = 09-22 In derivation convert svDATE from STING to DATE using this function StringToDate(%datestring%,["%yyyy-%mm-%dd&...
by srimitta
Mon Sep 22, 2008 1:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Logic In Parallel Tansformer
Replies: 5
Views: 1654

2008-09-22 (YYYY-MM-DD) Create 3 stage variables svDATE -- svYYYY : '-' : svMMDD ( this will give you 2004-09-22) svYYYY -- 2008-09-22[1,4] - 4 = 2004 svMMDD -- 2008-09-22[6,5] = 09-22 In derivation convert svDATE from STING to DATE using this function StringToDate(%datestring%,["%yyyy-%mm-%dd&...
by srimitta
Tue Jul 29, 2008 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuring ODBC connection for MYSQL database
Replies: 7
Views: 7158

mysqldsn] Driver=/d01/Ascential/DataStage/ branded_odbc/lib/branded_odbc/lib/ VMmysql23.so Description=MySQL ODBC 3.51 Driver DSN SERVER=65.91.255.2 Database=edw1kn PORT=3306 USER=guest Password=welcome1 OPTION=3 SOCKET= check the odbc drivers library path it seems you have entered twice It supposed...
by srimitta
Tue Jul 29, 2008 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuring ODBC connection for MYSQL database
Replies: 7
Views: 7158

Check VMmysql23.so odbc driver in
/d01/Ascential/DataStage/branded_odbc/lib/branded_odbc/lib
by srimitta
Tue Jul 29, 2008 3:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuring ODBC connection for MYSQL database
Replies: 7
Views: 7158

Did you create entry in uvodbc.config

<mysqldsn>
DBMSTYPE = ODBC
by srimitta
Tue Jul 29, 2008 7:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with Suurogate key Generation
Replies: 9
Views: 2010

Oh Sorry :oops: , I didn't noticed this thread is of Server.
by srimitta
Tue Jul 29, 2008 7:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Command execute activity
Replies: 12
Views: 4712

1). awk 'END{ print NR}' <filename>
Execute Command stage will return value 10 in char format.
2). Convert Exec Command stage return value to Integer using

Code: Select all

Oconv(Exec_Command.$CommandOutput,"MCN")
User Variable stage.
by srimitta
Tue Jul 29, 2008 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue with Suurogate key Generation
Replies: 9
Views: 2010

suppose to generate the one surrogate key for the combination of natural keys but for each duplicate it is creating the new key. Before generating Surrogate Keys remove duplicates on you NATURAL KEY COLUMNS using Remove Duplicates stage. Use same column or set of columns which you are using in KeyM...
by srimitta
Tue Jul 29, 2008 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to maintain updated information as well as tracking
Replies: 4
Views: 1244

You can identify what is new & what is changed using CDC stage (Change Data Capture)
For new record Insert Code = 1
For Updated record Edit Code = 3
These codes are built-in in the CDC stage.
by srimitta
Mon Jun 23, 2008 12:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error importing job
Replies: 0
Views: 638

Error importing job

Hi All,

I am getting below error message while importing job from from one evironment to another environment, any idea what does this means.

Error writing record Local.msh to file RT_SC137 - error number is 40019

I did search for this error in DSXchange, but didn't find any thread posted on this.
by srimitta
Fri May 30, 2008 7:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Routine in dataStage PX
Replies: 17
Views: 7023

Help files in version 8.0.1 are messed-up, it's very hard to find help on functions, plug-ins, DS Macros, DS Function, DS Contatants.

DataStage integration with Websphere screwed-up all help files, they are no more user friendly the it was until 7.5.x.
by srimitta
Mon Apr 28, 2008 12:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Active and Passive stages
Replies: 2
Views: 2067

Actives stages , such as the Transformer and Aggregator, perform processing tasks, while passive stages , such as the Sequential File stage and Hashed File stage, are reading or writing data sources and provide services to the active stages. Above is extracted from DataStageServer Job Developer Gui...