Search found 53125 matches

by ray.wurlod
Tue Dec 31, 2013 6:10 am
Forum: General
Topic: Install Updates - Are the files needed after install
Replies: 3
Views: 757

If the installation/update was successful you (they) can archive those files with impunity.
by ray.wurlod
Wed Dec 25, 2013 4:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Row Number Field with multiple partition not workin
Replies: 2
Views: 3346

What partitioning are you using? No, really using? Unless you can guarantee absolutely even distribution you will always see holes in the sequence. The only way that you can guarantee absolutely even distribution is (a) to specify Round Robin as the partitioning algorithm and (b) to have a number of...
by ray.wurlod
Wed Dec 25, 2013 4:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 Syntx giving trouble in Server routine
Replies: 1
Views: 1227

My guess is that you need single quotes around the value TEST_11DEC For example, and assuming that this is a value for the second parameter in the Insert statement (jobname): QueryCmd = "db2 -mv " : "'Insert into STG.JOB_CNTL(CDC_STG_BATCH_ID, JOB_NAME, STATUS) Values ( ":v_Batch...
by ray.wurlod
Mon Dec 23, 2013 1:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator state --count on two columns
Replies: 2
Views: 1313

Add an artificial grouping column that has a constant value.
by ray.wurlod
Mon Dec 23, 2013 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage to mimic Transformer TRIM() function
Replies: 7
Views: 3220

The name of the function in Modify stage is string_trim() - you can research the rest.
by ray.wurlod
Mon Dec 23, 2013 1:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: varchar to char truncate issue
Replies: 5
Views: 3592

Use a Modify or Transformer stage and use an explicit function to effect the truncation, and the warning should go away.
by ray.wurlod
Mon Dec 23, 2013 1:26 pm
Forum: General
Topic: how to supress - no such file or directory unix error
Replies: 6
Views: 2455

DataStage detects the exit status. You can generate a fake exit status of 0 to prevent the warning. But... what do you then want DataStage to do in the case that the file does not exist?

Code: Select all

ls -1u /blah/blah/blah/FILENAME*.txt > /blah/blah/blah/FILENAME2.txt 2>/dev/null ; echo ""
by ray.wurlod
Sat Dec 21, 2013 11:16 pm
Forum: General
Topic: Metadata Repository (Datastage 8.5 Installation)
Replies: 8
Views: 8301

Check that your Oracle port (1521) is not blocked by a firewall and that the host machine on which Oracle is running is accepting connections.
by ray.wurlod
Sat Dec 21, 2013 2:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: varchar to char truncate issue
Replies: 5
Views: 3592

It doesn't really matter where it happens, there's just no way to shoehorn seven characters into a Char(5) column.

My guess would be that it happens in DataStage - you could check that easily enough by changing the target (or adding a second target) that is a text file.
by ray.wurlod
Fri Dec 20, 2013 11:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pivoting-unknown number of columns
Replies: 5
Views: 1912

Or use Pivot stage and discard the NULLs subsequently.
by ray.wurlod
Fri Dec 20, 2013 11:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Find prepositions in a string
Replies: 6
Views: 2175

Can't be done this way. You have to search for each preposition separately. Use Transformer stage looping.
by ray.wurlod
Fri Dec 20, 2013 11:56 am
Forum: General
Topic: Email Notification without JOB STATUS REPORT
Replies: 4
Views: 1911

There's a check box in the Notification activity. Uncheck it and the job status report will not be attached.
by ray.wurlod
Thu Dec 19, 2013 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date valid function
Replies: 7
Views: 2428

Make sure all dates have eight characters, so that they match the format string.

Code: Select all

Right("00":InLink.TheString, 8)
by ray.wurlod
Thu Dec 19, 2013 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string replacement scenario
Replies: 2
Views: 939

Version 9.1 does have Ereplace() function.
In version 8.x you can use Transformer stage looping in conjunction with Index() function to find the location of the string and substring techniques with Upcase() function to build the replacement string.
by ray.wurlod
Thu Dec 19, 2013 3:00 pm
Forum: General
Topic: Defining Parameter set value from within a Job Sequence
Replies: 1
Views: 607

If you double click on the job sequence name in the Job activity you should be able to access the expression editor. You should then be able to enter "FRED" as a String.