I have created the reports based on MAPGEN and SADGEN (FLOWDOC) for one of my scheduled application. In the SADGEN report I am getting the live scheduled details based on the job schedule. But for External jobs it is not giving the external application under which it is defined. Using MAPGEN we can able to get the application of external job. So to generate the Report for next batch run we are using the SADGEN for live data and MAPGEN for the application of external jobs. Is there any other option to get the Application under which the External job is defined in SADGEN Report. (
Note: We have same job running under different application)
Also in both MAPGEN and SADGEN report, if the external job is releasing some job and if it is having scope, it is reflected in the SADGEN report. But for most of the cases we are looking for yesterdays batch. So we scheduled the externals as (Scheduled Yesterday 7.00 to Today 6.59) and the Main job as (Scheduled Today 7.00 to Tomorrow 6.59). This case is not reflected in anyone of the reports. Please help me to identify the way that whether the job is looking for the PRED of today batch or yesterday / some other previous day batch.
Let me give a example for this scenario.
IF TODAY IS SUNDAY THEN
LOOKBACK = (Scheduled Yesterday 7.00 to Today 6.59)
LOOKBACK = (Scheduled Today 7.00 to Tomorrow 6.59)
JOB FTPJOB EXTERNAL %LOOKBACK
RELEASE ADD COPYJOB
Do you have EXTERNAL specified on SADGEN statement?
Adds an extra entry on the SADGEN data set for each external job found within the specified scheduling criteria.
Generally ESP may not be able to resolve the variable accurately at forecast report time, will you consider to use following instead?
JOB FTPJOB EXTERNAL SCHED('7.00 TODAY UNTIL 6.59 TOMORROW')
IF TODAY('SUNDAY') THEN JOBATTR SCHED('7.00 YESTERDAY UNTIL 6.59 TODAY')
Hope this helps,
Thanks for the reply.
While creating sadgen report we used external option.
As you said, we tried by giving the scheduling directly without using variable. Still we cannot able to get the prediction for look back detail.
Thank you for the update.
In this case, I suggest that you open a support ticket, so that you can provide more data and we will help you further.