Search found 15603 matches

by ArndW
Wed Oct 24, 2007 6:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: first name and last name
Replies: 4
Views: 1483

Use DCOUNT(In.ColumnName,' ') to get the number of space-delimited words, then use FIELD(In.ColumnName,' ',DCOUNT(In.ColumnName,' ')) to get the last "word". p.s. Corrected mistyping of the FIELD function, the original post mistakenly used INDEX. Thanks JoshGeorge for bringin...
by ArndW
Wed Oct 24, 2007 3:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Check the Data is ready from Source
Replies: 4
Views: 1079

Ravi, although you didn't ask a question I'll assume you want to know how to do this. You can write a simple job to do this read and write 1 or 0 records to a sequential file. Then, from a sequencer job, you can check this file's size to determine how to proceed. Alternately, you can set the user re...
by ArndW
Wed Oct 24, 2007 3:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How handle multiple Delimeter in Datastage...
Replies: 4
Views: 1826

msc_giri - I am confused by your suggestion, could you perhaps explain how using quotes will allow these columns to be read correctly?
by ArndW
Wed Oct 24, 2007 3:26 pm
Forum: Site/Forum
Topic: Duplicate Posts
Replies: 22
Views: 9977

Duplicate Posts

Is there some way that we can remove duplicate posts? This problem seems to be getting worse on a weekly basis Perhaps some automated program that scans threads and just drop duplicates?
by ArndW
Wed Oct 24, 2007 3:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling spaces in Packed Decimal fields
Replies: 8
Views: 3207

In the CFF stage, right-mouse click on the column name and then choose the option "edit row", the rest follows from there.
by ArndW
Wed Oct 24, 2007 3:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subArgs={asc}}}
Replies: 15
Views: 3316

Pravin - you might have an implicit sort in your input link that you have overlooked.
by ArndW
Wed Oct 24, 2007 4:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How handle multiple Delimeter in Datastage...
Replies: 4
Views: 1826

The sequential stage does not allow multiple separators; but you can use a simple tr command to convert the commas into pipes.
by ArndW
Wed Oct 24, 2007 1:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: cannot open executable Job File RT_CONFIG242
Replies: 5
Views: 1307

The job is broken if you cannot edit or recompile it. Do you have an export backup version of it you can re-import? Also, how did this job get corrupted - could there be others in the same project with problems as well?
by ArndW
Wed Oct 24, 2007 12:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: cannot open executable Job File RT_CONFIG242
Replies: 5
Views: 1307

Try to see if you can edit and recompile the job you just tried to run.
by ArndW
Wed Oct 24, 2007 12:24 am
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 2885

That is very unfortunate. I tested it and don't have the warning.
by ArndW
Wed Oct 24, 2007 12:24 am
Forum: General
Topic: one more help please how to convert GMT to central time?
Replies: 10
Views: 4151

The -5 you used subtracted 5 seconds from the TimeStamp; you need to subtract (5*60*60) from the timestamp.
by ArndW
Wed Oct 24, 2007 12:22 am
Forum: General
Topic: Help how to extract first field in a string (csv file)
Replies: 9
Views: 2103

modify stage , not modify state. You haven't specified how you are reading your file - as one big column, or separated into columns. Your functions in a modify stage are limited to the substring you have already asked about, so if the "=" sign is always in the same position you can use substrings, o...
by ArndW
Wed Oct 24, 2007 12:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: May I know what this msg means???
Replies: 2
Views: 757

WRITE errors are most likely from your project directory being 100% or a corrupted log file. The first condition you need to check yourself, the second might be fixed by clearing the log file. Actually, the third option is that your log is >2Gb and that would also be fixed by clearing your log.
by ArndW
Tue Oct 23, 2007 10:53 pm
Forum: General
Topic: Help how to extract first field in a string (csv file)
Replies: 9
Views: 2103

The FIELD function does not exist in a modify stage; only in the transform stage.
by ArndW
Tue Oct 23, 2007 10:50 pm
Forum: General
Topic: How to use MODIFY STATE ? help please
Replies: 12
Views: 2885

tini - I used a fixed length CHAR instead of VarChar and the message went away. Or just deprecate the warning message in the log.