How can i access different Project in same job
Posted: Thu Dec 30, 2004 6:14 am
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 .
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 .