Search found 200 matches

by trobinson
Wed Mar 14, 2007 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: generating random number in a specified range
Replies: 19
Views: 6355

Have you tried a column generator cycling from 1 to 10000 generating a random number? It could be inserted directly downstream of the Transformer.
by trobinson
Tue Mar 13, 2007 6:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: compare records in file with rows in DB
Replies: 13
Views: 3634

grep ^1 <filename>

the carat means the beginning of a line
$ means the end of a line.
by trobinson
Mon Mar 12, 2007 1:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 17
Views: 5529

I thought this was a post on how to score with chicks.
by trobinson
Thu Mar 08, 2007 3:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Slow Writing to Hashed files
Replies: 37
Views: 8401

Have you analyzed the hashed files' structure? The Modulo and separation? Does your Create File being checked still create the default dynamic hashed files or have you tuned it?
by trobinson
Thu Mar 08, 2007 10:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Row Generator generated OSH script bug
Replies: 5
Views: 1426

I see nothing in Chapter 53 in the Parallel Job Developer's Guide that documents anything about generating filepaths. I also don't see a filepath column in the column grid of the output tab of the Row Generator stage. Ray - Can you elaborate?
by trobinson
Wed Mar 07, 2007 6:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reject Files-no null export handling
Replies: 4
Views: 8972

What is everybody on vacation today? Where's Kumar? Go to the Input tab of the Sequential file stage you are writing to. Go to format tab. Select Field Defaults folder. Select the Null Field Value Property and assign it a value of "" (double quote double quote). In other words a field valu...
by trobinson
Wed Mar 07, 2007 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: what is the meaning of allow multiple instances?
Replies: 7
Views: 8173

When this checkbox is checked and the job compiled, one can run more than one copy of the job at a time. It means exactly what is says. Multiple instances (copies) of a DataStage job can be run simultaneously. The Engine can do this by appending an invocation id to each running instance.
by trobinson
Thu Mar 01, 2007 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Documentation explaining APT_DUMP_SCORE output
Replies: 3
Views: 1852

Wasn't there a 20 page article on the dump score in last month's issue of Maxim? Or was it Sports Illustrated?
by trobinson
Tue Feb 27, 2007 9:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7207

I think it must be the FILENAME != "#FileDirectory#/". Ever. How come? Did you try to hard code the condition (ex. && 1 != 2 ) to exercise the else {exit 1} in order to see if the overall flow will work? When I tested it I deleted the value of the file parameter. I didn't blank it ...
by trobinson
Wed Feb 21, 2007 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7207

My bad. My awk WAS slightly different then yours. I changed mine and added double quotes. Here's the error when it works correctly; Sequential_File_0,0: Filter status 256; filter process failed: 1; import error at record 0. Here is my awk; awk -F'\t' '{if( FILENAME != " #PATH#/ " ) {print ...
by trobinson
Wed Feb 21, 2007 10:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7207

It worked for me both within DS and from the command line. Perhaps FILENAME = #FileDirectory#/ will never equal #FileDirectory# (without the slash). I would suspect a snytax problem if the awk with the condition worked before. Perhaps you need to enclose the && (condition) in parens to ensur...
by trobinson
Wed Feb 21, 2007 8:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 7207

Re: Weird problem with Sequential File Stage

Havoc wrote: awk -F'\t' '{if(<condition>) {print $0}}' #FileDirectory#/#Filename#
Try
awk -F'\t' '{if(<condition> && FILENAME != #FileDirectory#) {print $0} else {exit 1}}'
by trobinson
Mon Feb 12, 2007 12:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: teradata enterprise with unknown destination columns
Replies: 21
Views: 8484

I am very interested in the outcome of this post. I have looked in the documentation and I cannot find the reference but I believe I read somewhere that the Teradata Enterprise Stage will create a work table when an append to a Teradata table is selected for the job. I believe this is because a Fast...
by trobinson
Thu Feb 08, 2007 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: row too big for inter stage rowbuffer
Replies: 17
Views: 9012

I see no hi-jack. I assume the inability to get content is becasue of the error cited in the post. A 3000K XML row will not fit in a 256K buffer.