Search found 37 matches

by kudaka
Fri Oct 08, 2004 11:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look for available number - routine question
Replies: 22
Views: 9847

I came up with this script. Is it good?
number=1
while [ $number -le 100 ]
do
echo $number >> a.txt
number=`expr $number + 1`
done

Thanks
by kudaka
Fri Oct 08, 2004 10:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look for available number - routine question
Replies: 22
Views: 9847

Creating pre-generated file containing numbers in a column from 1 to the max number has become a challenge for me.
Any ideas? Can we make a simple sql stmt that return 1 thru max number?
Or any shell script?
Please share any ideas.
Thanks.
by kudaka
Fri Oct 08, 2004 7:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look for available number - routine question
Replies: 22
Views: 9847

kcbland, You are correct. I am trying to find the unused numbers. The system is AS400, we are using Oracle plug-in to bridge to it and read AS400 files. What is the method to prepare a list of unused numbers? As ray.wurlod said this does not make any sense to handle this problem in datastage, but cu...
by kudaka
Thu Oct 07, 2004 7:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look for available number - routine question
Replies: 22
Views: 9847

The file consists of one column of unique numbers.

The routine has to return a number that is not in the file.
by kudaka
Thu Oct 07, 2004 6:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Look for available number - routine question
Replies: 22
Views: 9847

Look for available number - routine question

This may be crazy. But, I am trying to solve the following problem. This is what I need to do: 1. I will call a routine from DataStage passing a number (int1) 2. The routine has to open a seq/hash file consisting of numbers. 3. check if "int1" is in this file. 4. If not found, return "...
by kudaka
Thu Jul 22, 2004 8:47 am
Forum: IBM QualityStage
Topic: QualityStage user guide needed please
Replies: 3
Views: 3747

Thank you.

Sincerely,
Sri
by kudaka
Wed Jul 21, 2004 3:50 pm
Forum: IBM QualityStage
Topic: QualityStage user guide needed please
Replies: 3
Views: 3747

QualityStage user guide needed please

Where can I get user guide for QualityStage? Anybody has a pdf file of this? I want to learn QualityStage. Please help.
by kudaka
Wed Jul 21, 2004 11:10 am
Forum: IBM QualityStage
Topic: Quality stage user guide
Replies: 3
Views: 2807

Quality stage user guide

Where can I get user guide for QualityStage? Anybody has a pdf file of this? I want to learn QualityStage. Please help.
by kudaka
Thu May 20, 2004 10:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to stop child jobs?
Replies: 10
Views: 2181

Good news! It is working. I have modified it a little bit. Takes job name/batch name as a parameter along with job seq name. Thank you. Here is the code: * ------------------------------------------------------------ * RtnStopJobOrSequence(Job Or SeqName) * ------------------------------------------...
by kudaka
Thu May 13, 2004 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to stop child jobs?
Replies: 10
Views: 2181

Let me ask something. By stopping a job sequence does it stop all server jobs as well as job sequences under it?
My master sequence job as grand grand children of type job seq.
by kudaka
Thu May 13, 2004 3:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to stop child jobs?
Replies: 10
Views: 2181

This does not seem to work if JobSeq calls another jobSeq calls another ...
Do you think we have to call this recursively? I'm still working. Let me know your thoughts.
Thanks.
by kudaka
Wed May 12, 2004 1:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there a field in DS_JOBOBJECTS for dependent job's type
Replies: 2
Views: 753

Is there a field in DS_JOBOBJECTS for dependent job's type

or do we have to query each dependent separately for it's type?
How to see the DS_JOBOBJECTS table definition?
by kudaka
Wed May 12, 2004 8:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: What is the field delimiter for Hash files?
Replies: 10
Views: 3935

openpath EdwHashFilePath : '/':PeriodHashFileName to periods.h else goto FileWarn

SELECT periods.h
READNEXT @ID Else Goto NothingToProcess

READ PartRec FROM periods.h, @ID Else Goto TheEnd
PeriodToLoad = PartRec<1>
by kudaka
Tue May 11, 2004 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to stop child jobs?
Replies: 10
Views: 2181

Thanks. I will see if it works. will come back with answer in 2 or 3 days.
by kudaka
Tue May 11, 2004 3:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: trying to get multiple rows in transformer
Replies: 5
Views: 2648

Can write the input and expected output data here?