Search found 210 matches

by sbass1
Wed Aug 05, 2009 5:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Conditional lookup
Replies: 2
Views: 2575

Conditional lookup

Hi, Say my source data has 1M records. 10 records have flag = 1, the remainder have flag = 0. The two scenarios go down separate update links to the target table. Flag = 0 is Update existing or insert new. Flag = 1 is Update existing only. Problem: Flag = 1 implies that there is an existing record i...
by sbass1
Thu Jul 30, 2009 12:21 am
Forum: General
Topic: Questions on named batches in version control
Replies: 5
Views: 2303

3b) No, there's no "overwrite" capability. While you can choose a specific major number, it always controls the minor number and will give you the next available minor for that major. Now, I guess you can "cheat" and use the Manager to import an newer edition of a particular ver...
by sbass1
Wed Jul 29, 2009 11:27 pm
Forum: General
Topic: Questions on named batches in version control
Replies: 5
Views: 2303

Questions on named batches in version control

Hi, Some questions on named batches in version control : 1) I created a named batch when I initialized from DEV --> VERSION. I've decided I don't like the name of the named batch. How do I rename it? The batch properties window has the name greyed out/protected. Why? 2) I'd like to use this named ba...
by sbass1
Wed Jul 29, 2009 8:19 pm
Forum: General
Topic: Compare two Datastage jobs
Replies: 13
Views: 21296

This is a long shot, but... Before I reinvent the wheel (ok, maybe this request isn't as common as a wheel!), has anyone developed any Beyond Compare user-configurable rules to ignore unimportant differences between DSX files? Examples might be: * VC LOGS * ^1_1 05/26/09 14:03:57 Batch 15122_50672 I...
by sbass1
Wed Jul 29, 2009 8:11 pm
Forum: Enhancement Wish List
Topic: Compare With...
Replies: 2
Views: 3464

(For anyone familiar with the "Beyond Compare" utility...) What I'd love to see is "Beyond Compare for DS Projects": 1) Pick base file, pick comparison file, compare, give differences report 2) Pick base project, pick comparison project, compare, give differences report, which in...
by sbass1
Wed Jul 29, 2009 5:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL data type '%1' defined on column %2 is not supported.
Replies: 6
Views: 3578

This is resolved. Thank you to Craig for the ODBC vs. DRS stage "trick", and Jack for his comments on best practice architectural approaches.
by sbass1
Thu Jul 23, 2009 10:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL data type '%1' defined on column %2 is not supported.
Replies: 6
Views: 3578

You could try switching the DRS stage to ODBC or switching to the ODBC stage itself, it's the only one I'm aware of that will not care if the parameter markers (or lack thereof) do not match up to the columns in the stage. I personally know the ODBC stage supports this as I've taken advantage of th...
by sbass1
Thu Jul 23, 2009 9:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL data type '%1' defined on column %2 is not supported.
Replies: 6
Views: 3578

What database? And just as an FYI and AFAIK, the DRS stage always uses the ODBC style parameter markers which are unadorned positional question marks - no colons or numbers or anything else. Sorry...SQL Server 2005. Perhaps the issue will go away once I write the "real" SQL, which will be...
by sbass1
Thu Jul 23, 2009 8:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: SQL data type '%1' defined on column %2 is not supported.
Replies: 6
Views: 3578

SQL data type '%1' defined on column %2 is not supported.

Hi, Scenario: We do a data load. We get word the source files provided were incorrect. We get new source files. We want to delete appropriate records from the target tables prior to the (re)load (i.e. any records in the target tables matching the effective date(s) in the new source files). Some deta...
by sbass1
Thu Jul 23, 2009 5:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: clearing log files at one shot
Replies: 14
Views: 7532

Is there a better way, or is this best practice to, as the subject says, "clear logs files in one shot"? Use the auto-purge settings. Maybe with tighter rules than you currently have in place. That's what I'd regard as best practice. Thanks Ray. I'm currently just using this utility in ou...
by sbass1
Thu Jul 23, 2009 1:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: clearing log files at one shot
Replies: 14
Views: 7532

(May as well just add to this thread rather than starting a new one) So I read this thread, and also http://www.dsxchange.com/viewtopic.php?t=82586, and http://www.dsxchange.com/viewtopic.php?t=106690 See also http://www.dsxchange.com/viewtopic.php?t=128396&highlight= Plagiarizing from http://ww...
by sbass1
Wed Jul 22, 2009 5:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Resetting all sequences in a category
Replies: 6
Views: 3138

I need to tweak the Universe SQL code to return more stuff, such as job type, but searching the forum should give me what I need. As an FYI in case someone finds this on a search: This is my final Universe SQL code: SELECT EVAL "FIELD('Server|Sequence|Mainframe|Parallel','|',JOBTYPE,1)" A...
by sbass1
Wed Jul 22, 2009 1:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Resetting all sequences in a category
Replies: 6
Views: 3138

Hi Craig and Kim, Craig's post led me to search on DSPrepare job, which led me to http://www.dsxchange.com/viewtopic.php?t=128186&highlight=dspreparejob. My current approach: ResetJob routine: $INCLUDE DSINCLUDE JOBCONTROL.H JobName = Trim(pJobName) JobHandle = DSAttachJob(JobName,DSJ.ERRFATAL) ...
by sbass1
Tue Jul 21, 2009 10:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Resetting all sequences in a category
Replies: 6
Views: 3138

Resetting all sequences in a category

Hi, Say I have Project --> Jobs --> 00_Sequences category. What I want is a job that will reset all jobs in that category. I can build this as a separate sequence job, but it's always out of sync as soon as new sequences are added. In pseudocode: * List all sequence jobs in 00_Sequences category * F...
by sbass1
Tue Jul 21, 2009 10:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge multiple rows into one based on key values
Replies: 8
Views: 4186

No Ray, what I asked was: Is there a way to merge the rows in memory, without having to write to one or more intermediate seq files, hashed files, or db tables, then coding the merge "manually"? What you replied was: Link Collector stage, Transformer stage, Aggregator stage ("Last&quo...