Search found 237 matches

by myukassign
Thu Sep 18, 2008 9:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Key in sequential File
Replies: 3
Views: 1421

Key in sequential File

I have a Sequential file source and target server job. I am making one column in the target as Key column. But it is easily inserting any duplicate values there.

May I know what is the use of Key column in a sequential file stage?
by myukassign
Thu Sep 18, 2008 9:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSetDisableProjectHandler
Replies: 4
Views: 1719

But it is automaticalling adding by the job controller in a server job when I add any job using job controller of job properties.

Why it is so? I am using Datastage server edition.
by myukassign
Thu Sep 18, 2008 1:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSetDisableProjectHandler
Replies: 4
Views: 1719

DSSetDisableProjectHandler

Can anyone tell me whats the use of these two functions ? When I add a job to a job control, these two functions automatically adding and I doono wht is the use of it.

DSSetDisableProjectHandler(hJob1, @FALSE)
DSSetDisableJobHandler(hJob1, @FALSE)
by myukassign
Wed Sep 17, 2008 8:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSAttachJob
Replies: 2
Views: 2938

In another way.

Can we attach an aborted job using DSAttachJob() ?

If it is not possible what is the alternative for that. I want to run the job from a controller job , no matter waht the status of this job
by myukassign
Wed Sep 17, 2008 8:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSAttachJob
Replies: 2
Views: 2938

DSAttachJob

I have a Job JobA which is in aborted status. I am having a controller job JobB where I am trying to attach JobA to reset it and run using hJob1 = DSAttachJob("JobA", DSJ.ERRFATAL) But it is throwing me exception that the job is not in the run mode. Can anyonehelp whet need to be done? I w...
by myukassign
Wed Sep 17, 2008 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobcontrol Reset Failure
Replies: 4
Views: 1913

Sorry. I got answer for this problem. The code should be like this hJob1 = DSAttachJob("TestJob", DSJ.ERRFATAL) If NOT(hJob1) Then Call DSLogFatal("Job Attach Failed: TestJob", "JobControl") Abort End ErrCode = DSSetParam(hJob1, "inFile", inFile) ErrCode = DSS...
by myukassign
Wed Sep 17, 2008 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Coommon Job Issue
Replies: 1
Views: 801

Coommon Job Issue

I have a job "JobA" which is calling from many sequncers. Its function is to update a log file. When multiple sequncers running at a time and by chance a run request for jobA is triggering by two sequncers at a time. What will happen? Whether the calling sequncer will get aborted? If that ...
by myukassign
Wed Sep 17, 2008 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobcontrol Reset Failure
Replies: 4
Views: 1913

In the above code I modified the IF condition like the following . But still it is not resetting. Any help? If Status = DSJS.RUNFAILED Or Status = DSJS.CRASHED Then Call DSLogInfo(Status,"Custom program calling":Status) Call DSDetachJob(hJob1) hJob1= DSAttachJob("TestJob", DSJ.ER...
by myukassign
Wed Sep 17, 2008 6:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Jobcontrol Reset Failure
Replies: 4
Views: 1913

Jobcontrol Reset Failure

I am having a controler job with the following code. If it abort it should reset the job but not working. hJob1 = DSAttachJob("TestJob", DSJ.ERRFATAL) If NOT(hJob1) Then Call DSLogFatal("Job Attach Failed: TestJob", "JobControl") Abort End ErrCode = DSSetParam(hJob1, &q...
by myukassign
Wed Sep 17, 2008 5:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Wait function / Sleep function
Replies: 2
Views: 1619

Wait function / Sleep function

I have a controller job where I call many jobs using the code. I am using a for loop in which I repeatedly calling a job and incase it abort , resetting it and running agian in the loop. My requirement is, after each itration of the loop it should wait for 30 seconds. Is there a sleep or any functio...
by myukassign
Wed Sep 17, 2008 3:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSSetparam
Replies: 2
Views: 1347

DSSetparam

Can I pass job parameters as the parameter value in this function?
by myukassign
Wed Sep 17, 2008 3:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: File update issue
Replies: 1
Views: 805

File update issue

I got a problem in updating file by multiple sequncers. Enviorment ======== JobA open sequnetial FileA and hash in to HashA then using a transformer increment a field value then update FileA again. When I run jobA individually, there is no issue. Its running successfully. But this JobA is a common j...
by myukassign
Mon Sep 15, 2008 8:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: padding
Replies: 1
Views: 1127

padding

I have fixed length seq file and it has a column of 10 character length. Its datatype is char.

incase the source data dont have 10 character legth input... will the target column will automatically paded with spaces
by myukassign
Tue Sep 09, 2008 6:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage process context
Replies: 2
Views: 1222

m done!

Thanks for the reply
by myukassign
Tue Sep 09, 2008 5:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage process context
Replies: 2
Views: 1222

datastage process context

I have a basic doubt.

Whenever I run a single datastage job, is the datstage process create a separate process for my job in the unix server?

Whenever I run a sequncer, whether the datastage create separate process for each job in that sequncer?