Search found 42189 matches

by chulett
Mon Sep 15, 2008 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to load seq file from xml file
Replies: 2
Views: 984

We have two posts on the same topic. We really should stick to one or the other.

http://www.dsxchange.com/viewtopic.php?t=122147
by chulett
Mon Sep 15, 2008 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading XML file data into a Seq. file
Replies: 8
Views: 3680

Your first stage should be a Folder stage, not the Sequential. How did you generate the metadata you are using for the XPath Expressions in the XML stage?
by chulett
Mon Sep 15, 2008 7:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting the names of the parameters across all jobs
Replies: 1
Views: 917

You can script this using 'dsjob' or write a routine to loop through the jobs and get a list of parameters. And no, it won't take much time to run but can hang if you don't skip the job that is doing the work.
by chulett
Mon Sep 15, 2008 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ORA-01008: not all variables bound
Replies: 6
Views: 1950

I've already explained both the problem and the solution. Why do you need custom SQL when the generated SQL works for you? What changes are you making to it? If you want specific help, you'd need to provide specifics: 1. Number of columns defined in the stage 2. Which are Key columns 3. Your SQL
by chulett
Sun Sep 14, 2008 9:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dis advantages of funnel stage
Replies: 4
Views: 1565

Started 4 topics, not a single response back yet.
by chulett
Sun Sep 14, 2008 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage
Replies: 1
Views: 828

Please be more specific.
by chulett
Sun Sep 14, 2008 7:51 am
Forum: General
Topic: ignoring row in file
Replies: 2
Views: 1501

If the file does not have a header record, then setting the stage to 'First line is column names' will cause the first record to be skipped automatically. Make sure you annotate that on the canvas if you go that route.
by chulett
Sat Sep 13, 2008 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: string to timestamp
Replies: 5
Views: 2478

hh:nn:ss? nn? Am I missing something or did you mean hh:mm:ss? And what are you planning on doing for a date... or did you mean an Oracle INTERVAL field rather than a TIMESTAMP? :?
by chulett
Sat Sep 13, 2008 10:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass variable $APT_CONFIG_FILE from script
Replies: 13
Views: 15790

Re: How to pass variable $APT_CONFIG_FILE from script

i think beacause of $sign, i am not able to pass the config file. No, it's because each parameter name/value pair must be prefixed by "-param", each and every one. You need iterate thru the file and concatenate a string together so that you end up with: -param InputDir=/home/source/ -param OutputDi...
by chulett
Sat Sep 13, 2008 8:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetJobInfo to execute in a shell script
Replies: 3
Views: 2075

Check the various options for 'dsjob', there are equivalents there for all of the functions you can use in jobs. Server Job Developer's Guide, Command Line Interface chapter or the usage help in dsjob itself.

For example: dsjob -jobinfo
by chulett
Sat Sep 13, 2008 8:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use gunzip -c file_name.gz
Replies: 5
Views: 1993

Re: How to use gunzip -c file_name.gz

Kshitij Rawat wrote:If I used Sequential file it is not allowing gunzip -c command.

That's what the Filter option is for and where the gunzip command would go.
by chulett
Sat Sep 13, 2008 7:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: char columns possing threat
Replies: 3
Views: 1587

You can't trim spaces from a CHAR. You need to fix the problem the first run caused, update those fields in the Oracle table to get rid of the pad character you used the first time and get the spaces back that it expects to be there. If you trim them from the existing data, the spaces will come. Aut...
by chulett
Sat Sep 13, 2008 7:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem on Scheduling Jobs
Replies: 1
Views: 857

Only if you give us a better idea what 'getting aborted' means. UNIX uses two different schedulers - 'cron' for any kind of repeating schedule and 'at' for one time runs. Your scheduling user would need permissions to both (entries in cron.allow and at.allow) in order to make any type of schedule. I...
by chulett
Sat Sep 13, 2008 7:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Not able write into file
Replies: 2
Views: 977

Search is your friend!

"ds_ipcput() - timeout waiting for mutex"
by chulett
Sat Sep 13, 2008 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upgradation from Oracle8 to 10g stage in Datastage
Replies: 2
Views: 836

It's on the Client CDROM in the Unsupported Utilities directory, from what I recall. However, I did make use of it once and it worked fine. Of course, there's a README that explains how to use it.