when i try to get status of a job is same project i use this::
hjob10 = DSAttachJob("Report", DSJ.ERRWARN)
Status = DSGetJobInfo(hjob10, DSJ.JOBSTATUS)
If Status = DSJS.RUNFAILED Then
ErrCode = DSRunJob(hjob10, DSJ.RUNRESET)
ErrCode = DSWaitForJob(hjob10)
Call DSLogInfo("Job Reset: Report, "Job Control")
But can i access jobs from other projects ( env) as well.
like i have one dev and prod ... can i use a job in dev to get access for status of jobs in Prod .
How can i access different Project in same job
Moderators: chulett, rschirm, roy
Re: How can i access different Project in same job
No you can't. All DataStage API's are meant to be used within 1 project.
Ogmios
Ogmios
In theory there's no difference between theory and practice. In practice there is.
Use the dsjob command line program to build your job control. Simply use shell commands within your Batch job to execute the dsjob program to do what you need.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle