Search found 6797 matches

by DSguru2B
Thu Jan 18, 2007 4:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Counts and sums in Datastage with out 'Aggregator' stage
Replies: 21
Views: 24520

I did not get that. You can use group by or you cannot. You can do the counts in transformer using stage varialbes. Discussed zillions of times. Search is your best friend :wink:
Like this for example.
by DSguru2B
Thu Jan 18, 2007 4:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 2713

kaps wrote:It works...But looks like I am stating the samething twice...Is this the correct approach ?

Thanks


That "No. You are not" was for the above quest of yours. You are fine.
by DSguru2B
Thu Jan 18, 2007 3:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Analyzing parameters
Replies: 12
Views: 2428

Are you referring to DSParam file. Its present in the your project directory.
by DSguru2B
Thu Jan 18, 2007 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find space used by ETL?
Replies: 5
Views: 1289

What do you mean by size of ETL? If you mean size of a project then you can do df -k to utilize how many bytes are being used up by what parent directory. You can also check for size by doing ANALYZE.FILE RT_LOGxxx where xxx is the job id.
by DSguru2B
Thu Jan 18, 2007 3:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 2713

Nop. You are not. You are aborting the sequence job when you encounter a warning in your routine. Arg1 can be anything. Its a log entry from your end.
by DSguru2B
Thu Jan 18, 2007 3:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Convert datetime to internal format
Replies: 6
Views: 1328

ICONV/OCONV wont work in a px transformer. It will in a basic transformer. You need to give only the date part. Use ICONV(FIELD(in.col," ",1),"D-YMD[4,2,2]") Thats only for date part. For time part give 2 as third argument of the Field() function and use the appro...
by DSguru2B
Thu Jan 18, 2007 3:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation ID through dsjob
Replies: 6
Views: 5526

I know this is completely off topic but why are you doing all that cutting and pasting to get the job status. Use the -jobstatus option along with -run. The return code will be the jobstatus.

Code: Select all

dsjob -run -jobstatus <Project> <Job>
STATUS=$?
by DSguru2B
Thu Jan 18, 2007 2:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with change in Data type
Replies: 10
Views: 3287

In server it does not matter. In px it does. If you have any background in programming, especially c, you will know that characters are not the same as integers. They need typecasting to be changed from one form to another. Similarly with PX, as it is strongly typed like C, you need the conversions....
by DSguru2B
Thu Jan 18, 2007 2:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation ID through dsjob
Replies: 6
Views: 5526

vsi wrote:a) Should I check with invocationid

Code: Select all

JOB_STATUS=dsjob -jobinfo $PROJECT $JOBNAME.INVOCATION_ID(1...4) | head -1 | cut -d"(" -f2 | cut -d")" -f1` 




The way mentioned above.
by DSguru2B
Thu Jan 18, 2007 2:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help with change in Data type
Replies: 10
Views: 3287

AsInteger() and StringToDate().
by DSguru2B
Thu Jan 18, 2007 1:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation ID through dsjob
Replies: 6
Views: 5526

Yes. By suffixing jobname with .invocation id. i.e;

Code: Select all

dsjob -run PROJECT JOBNAME.INVOCATION_ID
by DSguru2B
Thu Jan 18, 2007 1:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Auto Archving of Logs
Replies: 7
Views: 1396

Did you completely overlook ArndW and my replies.
by DSguru2B
Thu Jan 18, 2007 1:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Splite String in PX
Replies: 8
Views: 1380

its not a function. just put square brackets" [x,y]" where x is the start point and y is the length.
by DSguru2B
Thu Jan 18, 2007 1:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Splite String in PX
Replies: 8
Views: 1380

Which btw, is also the same as server.