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
Search found 37 matches
- 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
- 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
- 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...
- 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
- 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 "...
- Thu Jul 22, 2004 8:47 am
- Forum: IBM QualityStage
- Topic: QualityStage user guide needed please
- Replies: 3
- Views: 3747
- 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.
- 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.
- 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) * ------------------------------------------...
- 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
- 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
- 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?
How to see the DS_JOBOBJECTS table definition?
- 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
- 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
- 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