Search found 15603 matches

by ArndW
Tue Jun 08, 2010 3:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 'WEEK.TAG' with Sunday as start of week
Replies: 16
Views: 6681

WeekdayFromDate() allows you to specify the origin day as an optional parameter.
Returns the day number of
the week from the given
date. Origin day optionally
specifies the day regarded
as the first in the week and
is Sunday by default
by ArndW
Tue Jun 08, 2010 2:09 am
Forum: General
Topic: FTP-2GB file
Replies: 11
Views: 3131

Do you have enough space in your destination directory? Try adding "TRACE ON" in your FTP command to see if you get more debugging information from the program.
by ArndW
Tue Jun 08, 2010 2:08 am
Forum: General
Topic: how to run datastage jobs in cygwin and suggest any packages
Replies: 3
Views: 1611

cygwin does not magically make DataStage Windows run under UNIX. The "dsjob.exe" windows command starts jobs, and that can be called from the command regardless of whether or not cygwin is installed. You can install the dsjob.exe on any networked PC and call that up to start jobs on your s...
by ArndW
Tue Jun 08, 2010 1:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Auto purge options
Replies: 5
Views: 1790

Unless you specify number-of-runs, in which case an instance will be correctly and completely removed; the director entry will still be present, but the contents will be purged. Autopurge on multiinstance jobs can cause problems if an autopurge is executed upon job completion and deletes log entries...
by ArndW
Tue Jun 08, 2010 1:33 am
Forum: General
Topic: FTP-2GB file
Replies: 11
Views: 3131

What is your OS and what is your system or file system's limit for file size? If you manually start a FTP command to get the file, does it come over correctly? Are there any FTP warning or error messages generated?
by ArndW
Mon Jun 07, 2010 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Print '+' Character in Concatenated string
Replies: 19
Views: 3455

"writing the code" means as a derivation? Are you certain that you didn't surround that code with '(' and ')' or use it in another manner outside of a derivation? What happens if you replace the derivation, as a test, with 'Hello', what is your output?
by ArndW
Mon Jun 07, 2010 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Print '+' Character in Concatenated string
Replies: 19
Views: 3455

The syntax will work as posted, thus the assumption that your output might be VarChar(1) or Char(1) and thus truncates the output string.
by ArndW
Mon Jun 07, 2010 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multiple records to one - MQ
Replies: 2
Views: 1103

You can use the vertical pivot of the enterprise pivot stage at V8 to convert multiple input rows into one output row for MQ.
by ArndW
Mon Jun 07, 2010 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default Value for Decimal Lookup Output
Replies: 4
Views: 2271

I can't check right now, but on lookups I would think it returns NULL for nullable fields.
by ArndW
Mon Jun 07, 2010 5:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Routine- Help needed
Replies: 9
Views: 3965

Yes, that is the case with premium posts.
by ArndW
Mon Jun 07, 2010 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Default Value for Decimal Lookup Output
Replies: 4
Views: 2271

It will use 0 if the field is non-nullable.
by ArndW
Mon Jun 07, 2010 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Routine- Help needed
Replies: 9
Views: 3965

You cannot get the clear-text value for an encrypted parameter. To avoid the error add

Code: Select all

IF DSGetParamInfo(JobHandle,ParmName,DSJ.PARAMTYPE)#DSJ.PARAMTYPE.ENCRYPTED) THEN ParmVal = DSGetParamInfo(JobHandle,ParmName,DSJ.PARAMVALUE) ELSE  ParmVal = '*Encrypted*"
by ArndW
Mon Jun 07, 2010 2:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: waitForWriteSignal(): Premature EOF Error
Replies: 10
Views: 9696

If your DDL and database read stage both specify a non-nullable "Field1" then I would add "$OSH_PRINT_SCHEMA" to your job parameters and see what the actual schemas that DataStage uses are. If they differ from the database DDL then you should submit this issue to your support pro...
by ArndW
Mon Jun 07, 2010 2:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Key column in schema file
Replies: 12
Views: 8269

Add "$OSH_PRINT_SCHEMAS" to a job's parameters and experiment for yourself how the key column setting is reflected in a schema.
by ArndW
Mon Jun 07, 2010 2:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Routine- Help needed
Replies: 9
Views: 3965

I can't see anything wrong at first look. Try changing the DSJ.PARAMVALUE to DSJ.PARAMTYPE as a test - do you now get some integer value to the right of the '=' sign?