Search found 602 matches

by abc123
Wed Dec 13, 2006 8:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting ExecuteCommand CommandOutput value in a sequencer
Replies: 14
Views: 6590

What's interesting is, in the log it says "Output from command ====>
2" for the ExecCommand activity which means it is returning the right value. It is just during the addition or in the Job Activity stage that the value is getting lost.
by abc123
Wed Dec 13, 2006 8:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting ExecuteCommand CommandOutput value in a sequencer
Replies: 14
Views: 6590

ray thank you for your response.

Actually I have the $ and I am picking from the Acitivity Variable pop-up. I am not typing it in.
by abc123
Wed Dec 13, 2006 7:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting ExecuteCommand CommandOutput value in a sequencer
Replies: 14
Views: 6590

It doesn't give the expected value. In the parameters of the JobActivity stage, I am doing ExecCommand.CommandOutput + 1.
This value should be the parameter value in the job of the JobActivity stage. I always get a 1. I tried ReturnValue as well. If I change the 1 to a 3, I get a 3.
by abc123
Wed Dec 13, 2006 7:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting ExecuteCommand CommandOutput value in a sequencer
Replies: 14
Views: 6590

Getting ExecuteCommand CommandOutput value in a sequencer

I have a sequencer loop where I have an ExecCommand followed by a JobActivity stage. In the ExecCommand, I am calling an UNIX command, cat filename, which has a value. I would like to do ExecCommand.CommandOutput to get this value, add 1 to it and use that value as one of the paramters of the job in...
by abc123
Wed Dec 13, 2006 4:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExecSH using after-job subroutine
Replies: 6
Views: 4757

Ok. I found the solution. My script did not have a return at the end which was causing this.
by abc123
Wed Dec 13, 2006 3:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExecSH using after-job subroutine
Replies: 6
Views: 4757

ray, I put the following in the Input Value:

ksh scriptname.ksh parameter1

I don't get any error but it doesn't do what it is supposed to do. However, when I copy the string from Director and execute it, it works fine. Any ideas?
by abc123
Wed Dec 13, 2006 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of rows in a data set
Replies: 23
Views: 7029

Yes, the same id.
by abc123
Wed Dec 13, 2006 1:30 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of rows in a data set
Replies: 23
Views: 7029

Still the same problem. It is kind of strange. It works for everyone else. I must be missing something.
by abc123
Tue Dec 12, 2006 11:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ExecSH using after-job subroutine
Replies: 6
Views: 4757

ExecSH using after-job subroutine

I have a job activity in a sequencer. I would like to run an after-job subroutine for the job. I am going to use the ExecSh command to run a shell script. A parameter needs to be passed to the shell script. Will I be able to do something like: execSH("ksh MyShell.ksh Prm1")? How do I pass ...
by abc123
Tue Dec 12, 2006 10:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of rows in a data set
Replies: 23
Views: 7029

How do I execute the dsenv script? I went through the posts in this forum and found some responses. Some of them have lines which probably should be in the environment script but I am not sure. Also, I log in to the UNIX box using my own ID. If I execute the dsenv script, is that going to be for me ...
by abc123
Tue Dec 12, 2006 6:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of rows in a data set
Replies: 23
Views: 7029

ray, thank you for your response. When I do: $APT_ORCHHOME/bin/dsrecords Myfile.ds I get the following: /home/dsadm/Ascential/DataStage/PXEngine/bin/dsrecords: error while loading shared libraries: liborchi686.so: cannot open shared object file: No such file or directory May be I don't have the libr...
by abc123
Tue Dec 12, 2006 5:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of rows in a data set
Replies: 23
Views: 7029

When I do:
dsrecords mydataset.ds
I get "command not found".
by abc123
Tue Dec 12, 2006 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of rows in a data set
Replies: 23
Views: 7029

Number of rows in a data set

How do I know I many rows are ther in a dataset? I do find it out?
by abc123
Thu Nov 16, 2006 11:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Which scripting language is better to know for DS developers
Replies: 2
Views: 1631

Which scripting language is better to know for DS developers

Korn Shell, Perl, Bash or others ? As a DS developer working in a UNIX/LINUX environment, knowing a scripting language helps enormously. I would like to hear your opinions as to which one might be best for a long term DS career.

Thanks.
by abc123
Wed Nov 08, 2006 4:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Interesting Sample stage problem
Replies: 9
Views: 2796

The number of rows going from the Copy To Sample shows 100.
Here are the Sample stage properties:

Max Rows (Per Partition) = 10
Period (Per Partition) = 1
Sample Mode = Period