i am writing a job control which would fetch all the job names in the project from a file( derived from Universe) and obtain all the stage names.
Then, job name and the all the corresponding stage names are to be written to a file in below manner:
Job_Name | Stage_Names( "," delimited; as received from DSJ.STAGELIST )
But, the job control is failing due to encounter of few jobs which are in "Not Compiled" state, with the below error in director:
i guess DSAttachJob is failing at this point.FIND_OBJECT_UTILITY..JobControl (fatal error from DSAttachJob): Job control fatal error (-12)
(DSOpenJob) Cannot open job SapLend010XtractAccountClosure. - not a runnable job
Any way for :
1. Attaching to
jobsNot Compiled
or 2. Ignoring these jobs
or do i have to filter them out prior to feed the entire job list in job control.
Thanks