Search found 98 matches

by aasaif
Mon Mar 09, 2009 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation id for multiple instance jobs
Replies: 9
Views: 7583

ok i marked the project to run for multiple instances. In my command line i added .ID to the job name. Then i go to run two jobs at the same time one comes back with a -2 while the other runs. I look in the direct job log window and i only see a entry for the job running not the other job
by aasaif
Mon Mar 09, 2009 10:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation id for multiple instance jobs
Replies: 9
Views: 7583

ok i am still getting the issue -2 job error when running multiple jobs though
by aasaif
Mon Mar 09, 2009 10:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation id for multiple instance jobs
Replies: 9
Views: 7583

ok so when i do that i look in the datastage directory under the invocation column it says ID shouldnt an internal ID be displayed here?
by aasaif
Mon Mar 09, 2009 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invocation id for multiple instance jobs
Replies: 9
Views: 7583

Invocation id for multiple instance jobs

Hey i need to be able to run a job mutiple times at the same time. So i checked the multiple instance job box in the project properties. I call the job through an executable that calls the the dsjob command. Now I know need to add an invocation id to the job name is there a way to do it from command...
by aasaif
Wed Feb 25, 2009 1:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

so basically there is no way to force a project to automatically recompile before running

I guess i will do reserch maybe i will have to run a dos command that compiles the job then run one that runs the job
by aasaif
Wed Feb 25, 2009 12:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

yeah but when i do that i get this warning
AuxTime..JobControl (DSPrepareJob): Cannot refer to own job handle
by aasaif
Wed Feb 25, 2009 9:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

this is the error i am getting
JobControl (fatal error from DSAttachJob): Job control fatal error (0)
(DSCloseJob) Cannot refer to own job handle
by aasaif
Wed Feb 25, 2009 8:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

sorry i posted my original before i fixed it this is what i put in the job control and the project just started but wouldnt run hJob1 = DSAttachJob("AuxTime",DSJ.ERRFATAL) If NOT(hJob1) Then Call DSLogFatal("Job Failed: AuxTime","Job") Abort End ErrCode = DSRunJob(hJob1...
by aasaif
Wed Feb 25, 2009 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

sorry i posted my original before i fixed it this is what i put in the job control and the project just started but wouldnt run hJob1 = DSAttachJob("AuxTime",DSJ.ERRFATAL) If NOT(hJob1) Then Call DSLogFatal("Job Failed: AuxTime","Job") Abort End ErrCode = DSRunJob(hJob1...
by aasaif
Tue Feb 24, 2009 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

I tried something like this and the job wouldnt run: and the job would just freeze hJob1 = DSAttachJob("AuxTime".DSJ.ERRFATAL) If NOT(hJob1) Then Call DSLogFatal("Job Failed: AuxTime","Job") Abort End ErrCode = DSRunJob(JJob1, DSJ.RUNNORMAL) Status = DSGetJobInfo(hJob1,...
by aasaif
Mon Feb 23, 2009 3:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

i apologize its happening on the second line
by aasaif
Mon Feb 23, 2009 2:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

correct
by aasaif
Mon Feb 23, 2009 2:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

does anyone see the issue with this

Job1 = DSAttachJob("AuxTimeFactLoad", DSJ.ERRORNONE)
Job1=DSPrepareJob(Job1)

Error
Invalid job handle 0
by aasaif
Mon Feb 23, 2009 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

Job1 = DSAttachJob("AuxTimeFactLoad", DSJ.ERRORNONE)
Job1=DSPrepareJob(Job1)

Error
Invalid job handle 0
by aasaif
Fri Feb 20, 2009 1:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 12837

i am getting the following error
Invalid job handle <Missing or NULL>