Search found 42189 matches

by chulett
Fri Jan 11, 2013 11:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a file with .ltr extension
Replies: 6
Views: 2675

Yes, exactly - Column Import. I always get those two mixed up! :lol:
by chulett
Fri Jan 11, 2013 9:40 am
Forum: General
Topic: dsjob command not working properly
Replies: 7
Views: 3364

Ah... that sentence was split up and I misread the "in the current working directory" part as just where dsjob was being invoked from. Good catch.
by chulett
Fri Jan 11, 2013 9:11 am
Forum: General
Topic: Prevent to Update the DSParams file
Replies: 2
Views: 1282

Have you tried this yet? Did it work for you?
by chulett
Fri Jan 11, 2013 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove special characters from XML file
Replies: 8
Views: 3395

Or they are made "safe" but again it depends entirely on what you mean by "special" characters.
by chulett
Fri Jan 11, 2013 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Pass the value of a column as the filename
Replies: 2
Views: 1280

There have been several posts showing how to use awk in an External Source stage to do that, here is one: viewtopic.php?t=141139

Haven't tried it myself.
by chulett
Fri Jan 11, 2013 9:00 am
Forum: General
Topic: dsjob command not working properly
Replies: 7
Views: 3364

It means you 'cd' to the Project directory where the job lives and then start the dsjob command from there using a full path:

Code: Select all

$DSHOME/bin/dsjob -run -param P_SET=p_value_ref test_project j_test_job
by chulett
Thu Jan 10, 2013 8:45 pm
Forum: Site/Forum
Topic: Get the videos working again!
Replies: 2
Views: 9695

I have no idea how many in total there may be, but of the three I can see all are accessible. Meaning, you click on the title and they play. What do you mean by you 'cannot access them'?
by chulett
Thu Jan 10, 2013 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Grouping data
Replies: 17
Views: 6177

I would aim for the most straight-forward approach that fits the requirements. If all you need is the Aggregator, use it. If you need to accomodate other values, then take a more 'complex' approach.
by chulett
Thu Jan 10, 2013 11:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I pass through columns in Aggregator?
Replies: 10
Views: 6713

I have no DataStage access and my documentation is at home which I am not, so I'm going to have to defer to the wisdom of others to answer that question at this very moment.
by chulett
Thu Jan 10, 2013 11:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a file with .ltr extension
Replies: 6
Views: 2675

I figured there were multiple detail records and yes, what I posted will work for that. As to the header v. detail, I would just create a boolean stage variable that you could use in derivations or constraints as needed. Something like: svIsHeader: if record[1,7] = '#Header' then @TRUE else if recor...
by chulett
Thu Jan 10, 2013 10:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a file with .ltr extension
Replies: 6
Views: 2675

Read it as one varchar column. Use stage variables to track if you are in the "#Header" or "#Detail" data. Filter out the 'noise' records from the data (headers, blanks) and use (may have this backwards) a Column Export stage to automatically parse the string into fields based on...
by chulett
Thu Jan 10, 2013 9:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I pass through columns in Aggregator?
Replies: 10
Views: 6713

Not by default. Default output is a double which you can make a decimal. For string fields you need to find and enable the 'Preserve type' property.
by chulett
Thu Jan 10, 2013 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Grouping data
Replies: 17
Views: 6177

How accurate are the data samples you posted? From what you posted, I don't see a need for anything other than an aggregator. :?
by chulett
Thu Jan 10, 2013 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Grouping data
Replies: 17
Views: 6177

Group on the first field, take MAX() of the other two.
by chulett
Wed Jan 09, 2013 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I pass through columns in Aggregator?
Replies: 10
Views: 6713

As the number of rows out is less than the number in you can't simply map ungrouped columns across. Typically one would use MIN() or MAX() for those columns so that only one value is passed per group.