Search found 296 matches

by throbinson
Fri Mar 06, 2009 4:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stopping an MQ-reading job
Replies: 12
Views: 6136

I've implemented the End of Message technique and it has worked without incident for 6 years. It would require two jobs; one to put the stop message onto the queue and one job to take it off. It is elegant and simple and for those reasons also robust.
by throbinson
Thu Feb 26, 2009 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implementing lengthy transformation logic
Replies: 12
Views: 3486

I admire your notion of bulky and lengthy. Clearly the smart and efficient methodology would be to update your resume. :)
by throbinson
Wed Feb 18, 2009 9:32 am
Forum: General
Topic: how could i append "Date" to sequential file name
Replies: 13
Views: 10092

Just to completely beat this to death and then set it on fire, a colon is not allowed in a Windows filename.
by throbinson
Wed Feb 18, 2009 8:58 am
Forum: General
Topic: how could i append "Date" to sequential file name
Replies: 13
Views: 10092

Server - works EE - Doesn't work because of the colon. A hardcoded test of a Sequential file name that contains a colon throws the same fatal warning; Sequential_File_15: When processing argument -fileWhen processing path: /tmp/todd:todd.csv is not a valid path name: Invalid hostname: /tmp/todd and ...
by throbinson
Wed Feb 18, 2009 8:28 am
Forum: General
Topic: how could i append "Date" to sequential file name
Replies: 13
Views: 10092

My AIX 5.3 doesn't care about the colons. It appears to be EE. How about your EE?
by throbinson
Wed Feb 18, 2009 8:01 am
Forum: General
Topic: how could i append "Date" to sequential file name
Replies: 13
Views: 10092

That doesn't work on UNIX 7.5.3, neither does #DSJobStartTimeStamp# for this reason; Sequential_File_15: When processing argument -fileWhen processing path: /tmp/2009-02-18_07:55:25.csv is not a valid path name: Invalid hostname: /tmp/2009-02-18_07 Are you saying it works on 8.x or yours (rony_danie...
by throbinson
Wed Feb 18, 2009 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic:
Replies: 4
Views: 5850

Here's one way;

Code: Select all

cd $dshome
bin/uvsh<<EOF
LOGTO <Project Name>
<uv stuff>
...
QUIT
EOF
by throbinson
Wed Feb 18, 2009 6:56 am
Forum: General
Topic: how could i append "Date" to sequential file name
Replies: 13
Views: 10092

But carries baggage of it's own which may be too heavy. Like, an After routine is already defined for the job or such a simple task as renaming a file seems overly complicated to do it in two places, one fairly hidden in the GUI. I like using a DS Macro for this; #DSJobStartDate#.csv Everything has ...
by throbinson
Thu Feb 12, 2009 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MAx of two negative decimal
Replies: 6
Views: 2423

He wants -89.62 but is getting zippage. Will max() work with a decimal?
by throbinson
Thu Feb 12, 2009 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: orchadmin
Replies: 5
Views: 5403

You need to define the proper path for $APT_ORCHHOME. I'm not sure what it would be for Windows but here's my UNIX; dev:echo $APT_ORCHHOME /etl/dev/DataStage/PXEngine dev:/ADM/oracle/home/z901464: You need to find where your PXEngine folder resides on your DS Server and map the environment variable ...
by throbinson
Thu Feb 12, 2009 8:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MAx of two negative decimal
Replies: 6
Views: 2423

I've never used this function and if I had a dime for all the times things "have to work" but didn't I wouldn't be sitting here writing this. I have, however, used the help button in Datastage. To wit; Max Returns the greater of the two argument values number 1 (int32) number 1 (int32) res...
by throbinson
Wed Feb 11, 2009 6:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling
Replies: 11
Views: 6732

Stage Variables in EE are NON-NULLABLE. ##E IIS-DSEE-TFEV-00026 04:19:46(006) <transform> Error when checking composite operator: Setting null to this non-nullable field: StageVar0_StageVar2. They cannot contain a value that might be evaluated to NULL. For some reason the Compiler is smart enough to...
by throbinson
Tue Feb 10, 2009 6:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Usage Analysis of a File
Replies: 6
Views: 3135

Kiran259 is mistaken. You can run the SQL from the command line. Do a search for dssh or uv.
by throbinson
Tue Feb 03, 2009 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with special characters while reading from AS400
Replies: 3
Views: 1908

DS Help would have answered your question faster; Seq(character) Converts an ASCII character to its numeric code value. Syntax Seq(character) character is the ASCII character to be converted. If character is a null value, null is returned. Remarks The Seq function is the inverse of the Char function.
by throbinson
Tue Feb 03, 2009 6:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML messages lost while reading using MQ Connector & XML
Replies: 2
Views: 2618

You are attempting a two-phase commit. Read from MQ and write to DB2. The ways that can not work but report success to the transaction are many. There is no way I would trust DataStage or my programming prowess to catch them all. Rather I would keep it simple. Browse from MQ write to DB2 and then go...