Posted: Fri Jan 03, 2003 3:34 pm
You basically have two choices.
1. Use a scheduler that allows you to schedule tasks every two hours and invoke your job through the command line interface (dsjob).
2. Create a job control routine that runs your job every two hours (see SLEEP statement in the BASIC manual). In this case you really should provide some mechanism for notifying the controlling job to stop gracefully.
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
1. Use a scheduler that allows you to schedule tasks every two hours and invoke your job through the command line interface (dsjob).
2. Create a job control routine that runs your job every two hours (see SLEEP statement in the BASIC manual). In this case you really should provide some mechanism for notifying the controlling job to stop gracefully.
Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518