Search found 180 matches
- Sat Jun 30, 2007 7:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing db2 sql command in a routine
- Replies: 11
- Views: 8027
I searched in archive and the following code executes db2 sql perferctly. Still i am wondering why my previous code does not work! Any help or suggestion on this will be greatly appreciated Thanks in advance $INCLUDE UNIVERSE.INCLUDE ODBC.H ** Initialise parameters ODBC henv = SQL.NULL.HENV hConn = ...
- Sat Jun 30, 2007 7:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: counting number of rows in hash file
- Replies: 7
- Views: 4922
Thanks Ray for your input! I have tried testing a job, but I got following error message COUNT_RECORD_IN_HASHFILE..Sequential_File_2.IDENT1: |COUNT_RECORD_IN_HASHFILE..UniVerse_1.DSLink4: DSD.BCIOpenR call to SQLExecDirect failed. Statement was:SELECT COUNT(*) FROM HASHRECORD SQLSTATE=S0002, DBMS.CO...
- Fri Jun 29, 2007 1:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: counting number of rows in hash file
- Replies: 7
- Views: 4922
counting number of rows in hash file
Hi,
My requirement to fire sql query in a hash file and get record count based on where condition.
For example,
Select count(*) from hash_file where record_status='Active'
where record_status is column name
If you have any idea/suggestion, kindly let me know.
thanks in advance
My requirement to fire sql query in a hash file and get record count based on where condition.
For example,
Select count(*) from hash_file where record_status='Active'
where record_status is column name
If you have any idea/suggestion, kindly let me know.
thanks in advance
- Thu Jun 28, 2007 3:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DB2 date format
- Replies: 12
- Views: 3899
What is the source datatype? and what is the target db2 date format?
Depending upon your target format, use iconv and oconv function accordingly like
Depending upon your target format, use iconv and oconv function accordingly like
Code: Select all
Oconv((Iconv(DSLink8.PROCESS_DT,"DYMD")),"D-YMD[4,2,2]")
- Tue Jun 26, 2007 12:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing db2 sql command in a routine
- Replies: 11
- Views: 8027
- Sat Jun 23, 2007 4:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: capturing reasons of rejected rows in a table
- Replies: 1
- Views: 994
capturing reasons of rejected rows in a table
Presently I am capturing filtered and rejected rows into db2 table using following constraints at transfomer stage. LNK_Write_Account_Mst_Filtered---> LNK_Write_Account_Mst.REJECTEDCODE = DSE.NOERROR And LNK_Write_Account_Mst.REJECTED LNK_Write_Rejects---> LNK_Write_Account_Mst.REJECTEDCODE where LN...
- Sat Jun 23, 2007 3:27 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing db2 sql command in a routine
- Replies: 11
- Views: 8027
- Wed Jun 20, 2007 7:19 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing db2 sql command in a routine
- Replies: 11
- Views: 8027
- Wed Jun 20, 2007 7:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get categoryname,jobname,job dependency.
- Replies: 8
- Views: 2941
- Wed Jun 20, 2007 5:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing db2 sql command in a routine
- Replies: 11
- Views: 8027
Executing db2 sql command in a routine
I have created one simple sever routine as below, where I am connecting to database and trying to insert one record into a table. There is no compilation error and while testing it returns 0, but record is not inserting into table. Could you please let me know where I am going wrong? and what is sol...
- Wed Jun 20, 2007 12:39 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get categoryname,jobname,job dependency.
- Replies: 8
- Views: 2941
Hi rafik2k , Could you let me know how did go about creating the test job of urs which displayed all the jobnames of the current project Thanks in advance Create simple job with Transformer stage and linkt to it a sequential file stage for capturing out in text or csv format. In transformer do the ...
- Tue Jun 19, 2007 8:19 am
- Forum: General
- Topic: Can't open property of any Activity in Sequence
- Replies: 6
- Views: 3055
- Tue Jun 19, 2007 7:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Email notification
- Replies: 12
- Views: 4383
Download blah.exe from the Web; it's a good SMTP client. If i were you , id have marked it as premium-premium content. Available only on payment of a small fee. :wink: And Sorry for the plagiarism(almost) which i myself condemn. First thing is that you are Rameshrr3, not Ray! blah.exe is 100% free ...
- Tue Jun 19, 2007 7:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Email notification
- Replies: 12
- Views: 4383
Thanks a lot Ray!ray.wurlod wrote:Download blat.exe from the Web; it's a good SMTP client. ...
I searched in google for blat.exe and found following site
Code: Select all
http://www.blat.net
Is that same site for downloading blat.exe?
- Tue Jun 19, 2007 4:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with Trim
- Replies: 4
- Views: 2142