Search found 154 matches

by DS_MJ
Wed Jan 04, 2006 4:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

Write a constraint to Load rows based on last row #

Hello: Need to load data on DB2: - During the very First load, store the last record number. - During the next load need to check for the last record number and then start loading data after that record number. There is a Primary key column called REC_NUM where it sequentially stores the rec number....
by DS_MJ
Sun Sep 25, 2005 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: update insert
Replies: 6
Views: 2670

Actually, I wasn't thinking of creating a new column is DB2, just passing an extra data item (that does not exist in the table) to the plugin.
Cool. Yes, that is a great idea. Thanks. :)
by DS_MJ
Fri Sep 23, 2005 1:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: update insert
Replies: 6
Views: 2670

Was the spare column you used already in the table? Or did you just pass an extra column with the same value to the DB2 plugin? Yes, the spare column I used is already in the table. If the column already existed, then it is no longer being maintined by your job and will quickly get out of date. Tru...
by DS_MJ
Thu Sep 22, 2005 11:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: update insert
Replies: 6
Views: 2670

Hello rleishman: Thanks for your prompt reply. What I think you've done is supplied more question-marks than there are columns I had used the SQL generated query and then copied it and pasted that query in the user defined query and then modifed to compare. However, there was definitely something wr...
by DS_MJ
Wed Sep 21, 2005 4:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: update insert
Replies: 6
Views: 2670

update insert

Hello: Background: - Trying to do update / insert into DB2 directly using DB2 Plugin. - Need to update based on a column called LAST_MOD_DTS. If on DB2 the date of LAST_MOD_DTS is LESS then the input column's LAST_MOD_DTS then go ahead and update. - The input file's LAST_MOD_DTS column is a Char 26 ...
by DS_MJ
Fri Sep 16, 2005 4:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: [IBM][CLI Driver] CLI0112E Error in assignment. SQLSTATE=22
Replies: 1
Views: 730

Furthermore about this job. I am doing a direct insert Update into the DB2 table. - My Update Actions is set to Update existing or insert new rows since most of the row will be updates. - Set Array Size to 1 due to insert/update and -Transaction size to 0 since we want to commit the rows after all r...
by DS_MJ
Fri Sep 16, 2005 4:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: [IBM][CLI Driver] CLI0112E Error in assignment. SQLSTATE=22
Replies: 1
Views: 730

[IBM][CLI Driver] CLI0112E Error in assignment. SQLSTATE=22

Hello: In the Server Job I am loading data directly into the DB2 Table using the DB2 Plugin. However I am getting the following error: Job name:[IBM][CLI Driver] CLI0112E Error in assignment. SQLSTATE=22 The job flow is as follows: HashFile | \/ Input file ---> Link Partitioner --->Shared container-...
by DS_MJ
Thu Sep 01, 2005 9:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is CVS compatible with DS Server?
Replies: 5
Views: 1817

Thank you very much and appreciate your quick responses. Looking forward to the new release of DataStage Hawk. As usual this site is great for information.
by DS_MJ
Wed Aug 31, 2005 3:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is CVS compatible with DS Server?
Replies: 5
Views: 1817

Is CVS compatible with DS Server?

Hello: Need advice on CVS and whether it can be used with DataStage Server 7.5. Brief info on CVS: CVS (Concurrent Versions System) is used for two purposes: record keeping and collaboration. That one can perform Open Source Development With CVS. Need to know whether its compatible with DS Server? L...
by DS_MJ
Tue Aug 02, 2005 4:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 date Error, Value treated as null
Replies: 6
Views: 2948

You need IConv I was talking that if after doing ICON conversion in transform using field type as date and if one wants to load to db2 using the DB2 UDB plugin directly and if the load fails then what worked for me was to set the type column on the db2 udb to char even though in the transform I hav...
by DS_MJ
Tue Aug 02, 2005 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 date Error, Value treated as null
Replies: 6
Views: 2948

Try using "LST_PYMT_DT" column as CHAR and it should work.

DS_MJ
by DS_MJ
Fri May 27, 2005 8:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String format
Replies: 3
Views: 1174

ray.wurlod wrote:I believe the Right() function is more intuitively obvious.

Code: Select all

Right(InLink.Col1, 1)
Hello:

Thank you.

Code: Select all

Right(InLink.Col1, 1)
works.

Thanks,
MJ
by DS_MJ
Thu May 26, 2005 1:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String format
Replies: 3
Views: 1174

String format

Hello All: My source file is a Complex flat file with Data Format set to EBCDIC and Record Style to Binary. I can view data fine. In the table there is a column set to columnname char 1. The source file for that column is sending us something like 198655T. We need to accept only the character which ...
by DS_MJ
Wed May 04, 2005 1:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert a FIXED DECIMAL type in using flat files
Replies: 7
Views: 2843

It simply means to have the packed fields unpacked. Not an 'internal' representation, but rather something 'external' or people readable. Hello chulett: Thank you much, appreciate it. :D Anyways, we tried to get the DATA in ASCII and had issues with Packed decimal. However, when we went with DataSt...
by DS_MJ
Mon May 02, 2005 6:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to convert a FIXED DECIMAL type in using flat files
Replies: 7
Views: 2843

You may need to post the definition of the file you are receiving to make sure we are all on the same page. If your file truly has packed decimal fields and if they simply converted the entire record from EBCDIC to ASCII - then they have destroyed the packed fields in the process. Packed is packed,...