Calculate time and load the file
I have a custom program ZLOAD scheduled at 6:00 12:00 and 18:00 daily M-F which loads a file.
If I get a file ,saying to load the file at 5:30 pm(load time is part of the file ) ,the file should not get loaded between/at 6 and 12 but the file should get loaded at 18:00 hrs .
If the file to load time is 11:30 am then it should get loaded at 12;00 pm
How to achiveve this in the program ZLOAD without scheduling a job at 5:30 pm or 11:30 am.
Can you please let me know your thoughts and better solution?