Search found 42189 matches

by chulett
Thu Feb 05, 2009 12:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate 3 files and generate sequence number
Replies: 14
Views: 7004

Cat the files together pre-job, read in the concatenated file and ignore the current sequence number. Assign a new one as you write the file back out using @OUTROWNUM as the derivation. Constrain the output to skip the embedded header records when the first field has a value of "GLORDDER".
by chulett
Thu Feb 05, 2009 12:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS.REINDEX ALL
Replies: 2
Views: 2135

That's more of a 7.x solution and not as applicable to the 8.x world. How about you explain the problem you are trying to correct instead, what does "designer and director jobs not in sync" mean? :?
by chulett
Thu Feb 05, 2009 12:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing environment variable to -password of dsjob cmd
Replies: 0
Views: 1365

Welcome. For the -file option, you'd need the actual password value in the file and would thus not be able to use the environment variable. User-defined Project level environment variables created using the Administrator are only instantiated into a job's environment when a job runs, so would not be...
by chulett
Wed Feb 04, 2009 12:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: insert autoincremental ID coming from a file on a table
Replies: 7
Views: 1616

about the meaningful names, i think ETL's are more likely a tool that you only want to see the final product, no the process itself. As long as the process take a variable from his source and write/update or what ever action it does, in some place returning a comprensible value acording to the olde...
by chulett
Wed Feb 04, 2009 12:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to run 2 jobs Parallel in JOB SEQUENCER
Replies: 18
Views: 5716

Recall that we said that they would not "start at the same time" but rather one would start, then the second would start and they would run in parallel after that.
by chulett
Wed Feb 04, 2009 11:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Slow execution when using UNION in the OCI Stage
Replies: 4
Views: 1415

There's no "transaction size" when sourcing from OCI, you posted something "like" your query and zero is not a valid array size, so it's hard to believe that anything you're saying is correct. :? How about answering the sqlplus question? Also, is your "5-8 hours" spent ...
by chulett
Wed Feb 04, 2009 11:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I put arguments in a dynamic array?
Replies: 8
Views: 2650

:? Where did DSJ.PARAMLIST come from? Read the help - that is a list of the parameter names in the job, not values passed to the routine. My code as posted assumed a single argument passed to the routine with a delimited list of values. Since your post is now marked as "Resolved" can you p...
by chulett
Wed Feb 04, 2009 11:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2_UDB_Enterprise - Warning- unable to chdir
Replies: 8
Views: 4257

Note I did say "to that" not "on that"... you'd need to check all the way up from root. Just trying to cover all the bases.
by chulett
Wed Feb 04, 2009 11:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: exporting project from a routine
Replies: 2
Views: 1134

Job would run on the UNIX server, so no ".exe" file there. Why not just use the built-in Windows Scheduler on your PC?
by chulett
Wed Feb 04, 2009 10:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: insert autoincremental ID coming from a file on a table
Replies: 7
Views: 1616

Some advice... I really don't think that will work for you like you think it will and even if it does it's not something I'd declare to be "more clear" or any kind of efficient. DSJ.ME means "a handle to the current job" and DSGetLinkInfo is not a macro but rather a function. And...
by chulett
Wed Feb 04, 2009 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Slow execution when using UNION in the OCI Stage
Replies: 4
Views: 1415

In sqlplus it takes 10 minutes to get the complete result set or to start returning records? Two completely different things. What are your OCI settings - array size, transaction isolation, etc? Are you connecting as the same user, sqlplus versus DataStage? ps. That's not a valid hint, it requires a...
by chulett
Wed Feb 04, 2009 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I put arguments in a dynamic array?
Replies: 8
Views: 2650

OK, let's say your arg list was passed in as a pipe delimited string rather than individual values:

Code: Select all

for i=1 to NbArgument 
  ParamValues<i> = Field(ArgString,"|",i,1)
Next i 
The syntax for all available functions are in the online help.
by chulett
Wed Feb 04, 2009 9:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2_UDB_Enterprise - Warning- unable to chdir
Replies: 8
Views: 4257

Do you have "execute" permissions to that directory? That is what controls your ability to "cd" to it.
by chulett
Wed Feb 04, 2009 9:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I put arguments in a dynamic array?
Replies: 8
Views: 2650

Don't use parens, use angle brackets for the array element. Me, I'd pass in the Args as a delimited string and then use Field() in the loop to get the proper value.
by chulett
Wed Feb 04, 2009 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: insert autoincremental ID coming from a file on a table
Replies: 7
Views: 1616

And when you start next time, will you refresh the value in the file from that target table (best practice) or does the job need to do that? If the latter then use an Aggregator to capture the max/last value used and write that back to the file.