I invoke routine from Job Sequence and pass value to job.
When I test routine it return right value.
But when I see in Director Job Parametr the value is returned wrong
Can you provide
a.) The code of the routine
b.) The step by which you called it
c.) Values passed
d.) Value returned
e.) Reason what makes you think it is wrong
as Sainath and others have stated, the source of this routine would be nice as it seems to be the only place, from what you've described, where something might be working differently between your two different types of run.
The computer is incapable of doing anything but exactly what you tell it to do. Therefore, what you have coded is not what you expected to code. That is the main reason we need to see the code of the routine.
Based on your description, it appears that the code is selecting the lesser of the two dates, which is 20010101 (or 2001-01-01). If this is not what you expect, then your algorithm needs refinement.
Can you also post your algorithm design (the document you created before writing the routine)?
Last edited by ray.wurlod on Wed Aug 24, 2005 8:13 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.