Search found 1274 matches
- Tue Apr 23, 2013 8:48 am
- Forum: General
- Topic: AIX Unable To Detect DataStage Process
- Replies: 18
- Views: 7771
In order to debug this further, I would suggest breaking the command string into its separate commands and storing results in either files or variables so that you can see what is being seen at the time by the commands. Something like the following would be one way of accomplishing this: MyWordCount...
- Mon Apr 22, 2013 1:53 pm
- Forum: General
- Topic: AIX Unable To Detect DataStage Process
- Replies: 18
- Views: 7771
- Mon Apr 22, 2013 10:48 am
- Forum: General
- Topic: AIX Unable To Detect DataStage Process
- Replies: 18
- Views: 7771
Does the command line resolve to a 1 or 0 in the trace? '[' 1 -ne 0 ']' or '[' 0 -ne 0 ']' If it's resolving to 0, then the grep argument is probably not matching to what ps -ef is actually putting out and that's what you will need to concentrate on. The logic itself works (I can do the same using r...
- Mon Apr 22, 2013 9:06 am
- Forum: General
- Topic: AIX Unable To Detect DataStage Process
- Replies: 18
- Views: 7771
Why wasn't it (the -x, I assume) much help? -x should have shown you how the commands executed and what the results resolved to, similar to the following: ++ ps -ef ++ grep 'phantom DSD.RUN job_jobName' ++ grep -iv -e grep -e 'SH -c' ++ wc -l + '[' 0 -ne 0 ']' You see each command that is executed. ...
- Sun Apr 21, 2013 9:11 pm
- Forum: General
- Topic: AIX Unable To Detect DataStage Process
- Replies: 18
- Views: 7771
Is your jobname stored in a variable, or is it hardcoded in the command (as in your example)?
Add -x to the shell executable at the top of your script:
to enable the shell to trace the execution of your script.
Regards,
Add -x to the shell executable at the top of your script:
Code: Select all
#!/usr/bin/ksh -x
Regards,
- Wed Apr 17, 2013 4:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Non-Equi Join
- Replies: 9
- Views: 6849
It's not that expensive...a column generator stage can do it, or if you already have a transformer stage in the path use that. Besides, what's more expensive: adding a single column or not being able to perform the work? Some other options are: BuildOp (C++) Custom Operator (C++) Do the lookup outsi...
- Tue Apr 16, 2013 5:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Why use orchadmin to delete datasets?
- Replies: 10
- Views: 10379
To determine the appropriate dataset segments to delete, you would need to pull that info from the descriptor file which is a binary file, not text, with a non-published format that is subject to change. While you may not trust the orchadmin command 100%, I expect that rolling your own would be much...
- Tue Apr 16, 2013 4:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Non-Equi Join
- Replies: 9
- Views: 6849
Try creating a dummy key column in your lookup data that you can use in a range lookup: If your input value must be less than the lookup value to be a match, then the lookup derivation may be: input.value < lookup.value and input.value >= lookup.dummyvalue where dummyvalue is the lowest value you ca...
- Mon Apr 15, 2013 8:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Non-Equi Join
- Replies: 9
- Views: 6849
- Sun Apr 14, 2013 7:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parallel routine for patteren matching with a lookup file
- Replies: 4
- Views: 2558
There are plenty of examples for looping in C and C++ available on the web. In fact, you are already using one method in your routine--the while loop. There are others: until is a variation on while , and for is used quite often as well. You can call as many routines as you feel necessary inside a t...
- Sat Apr 13, 2013 10:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parallel routine for patteren matching with a lookup file
- Replies: 4
- Views: 2558
- Thu Apr 11, 2013 5:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: String to Timestamp Conversion having Null in Source
- Replies: 4
- Views: 4221
- Thu Apr 11, 2013 1:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: String to Timestamp Conversion having Null in Source
- Replies: 4
- Views: 4221
- Mon Apr 08, 2013 9:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: what is thesimilar function for rpad and lpad in 8.1 version
- Replies: 4
- Views: 2953
- Mon Apr 08, 2013 9:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: "Dropping component" warning message
- Replies: 2
- Views: 1809