Search found 6797 matches

by DSguru2B
Tue Apr 10, 2007 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting warning limit for jobs called from a sequencer
Replies: 5
Views: 1348

THe job control of the sequence inherits the limit set during run time. If you always want it to be a constant limit then I dont see why setting it from director is a problem, or while doing individual manual runs, setting it during run time from gui. For a scheduled mechanism use either DSSetJobLim...
by DSguru2B
Tue Apr 10, 2007 9:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Exec Command Stage Output
Replies: 9
Views: 2336

Look at my code again. No hashes around CommandName.$CommandOutput
by DSguru2B
Tue Apr 10, 2007 9:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Exec Command Stage Output
Replies: 9
Views: 2336

Try either of the following:

Code: Select all

Field(Commandname.$CommandOutput, @FM, 1)


Code: Select all

Commandname.$CommandOutput<1>
by DSguru2B
Tue Apr 10, 2007 9:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: funnel Stage issue
Replies: 9
Views: 2757

You dont need to build a whole seperate job to do this. You can simply provide a command line cat to achieve this

Code: Select all

cat file1 file2 file3 > CompleteFile
by DSguru2B
Tue Apr 10, 2007 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting warning limit for jobs called from a sequencer
Replies: 5
Views: 1348

Welcome to DSXchange :)
You can do that only while running the job. Other way is to set it project wide from director as you mentioned.
If you are running it from command line you can use dsjob -warn n to set the warning limit, where n will be the limit.
by DSguru2B
Tue Apr 10, 2007 8:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 11926

Two options:
1) Do it in a server job.
2) Do it in two seperate px jobs.
by DSguru2B
Tue Apr 10, 2007 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 11926

Please advise the different transformations you are doing. Maybe both can be incorporated into one and the same shall be advised. Help us to help you.
by DSguru2B
Tue Apr 10, 2007 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SetNull() in Stage Variable
Replies: 7
Views: 4403

O yea thats right, what was I thinking :oops:
by DSguru2B
Tue Apr 10, 2007 7:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling C program from DataStage Job
Replies: 16
Views: 6469

Better to do it in sequence job with 'Execute Command Stage'. The transformer will only allow before/after triggers which need to be a C routine. Too much extra work. Simplest way is to do it in a sequence job as I advised. If this has nothing to do with any datastage jobs then why are you getting D...
by DSguru2B
Tue Apr 10, 2007 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential processing of Files
Replies: 43
Views: 11926

It wont let you do that. The sequential file stage supports only a reject link as the second link. What transformations are involved? Cant you do all in just one transformer stage?
by DSguru2B
Tue Apr 10, 2007 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading input data from Sequential file
Replies: 4
Views: 1716

Make sure you run in sequential mode for craigs solution. If thats not what you want then provide the following filter command to restrict the first 5 rows at the sequential file stage itself.

Code: Select all

sed '1,5d'
by DSguru2B
Tue Apr 10, 2007 7:33 am
Forum: General
Topic: How to attach a file in the DSSendmail after subroutine
Replies: 2
Views: 1342

In routines, under utilities you have DSSendMailAttachmentTester(). Test that out and see if it works there first. If it does, look at its code and use that to send an attachment.
by DSguru2B
Tue Apr 10, 2007 7:30 am
Forum: General
Topic: Convert fields containing exponential values to decimal
Replies: 6
Views: 3550

How are you converting them to decimal, as in what function are you using?
What is the precision and scale of your target decimal field?
by DSguru2B
Tue Apr 10, 2007 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: "Error selecting from log file RT_LOG862"
Replies: 9
Views: 6511

Seems like your running out of space and this particular hashed file got corrupted. Clear the file, clear your logs, save it by some other name and delete the original job so that this file also gets deleted.
Also try to keep the log file sizes in check.
by DSguru2B
Tue Apr 10, 2007 7:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SetNull() in Stage Variable
Replies: 7
Views: 4403

I have seen that behaviour too. Never chased it to the very end. Something to do with the way your stage variable is defined I believe. Is the stage variable nullable?