I'm not sure what the goal is but you could have the submitted job wait an hour using the DLYJOB command.

----- Original Message -----
From: "Walden H. Leverich" <WaldenL@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Subject: RE: Wait for one hour and then run
Date: Thu, 5 Jun 2008 16:21:23 -0400

Is there a way to tell sbmjob to wait for one hour? Or I need to
set date and time?
Any better ideas?

I believe you'll have to set the SCDDATE/SCDTIME on the SBMJOB. However,
you realize you're submitting a job per advertising request. Seems ugly
to me.

Why not just record the datetime you go off to the processor in the
table, and the datetime you come back in the table. Then run a single
job hourly (or however often you want) that goes spelunking the table
looking for a non null submit time, and a null completion time.


Walden H Leverich III
Tech Software
(516) 627-3800 x3051

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...

Return to Archive home page | Return to MIDRANGE.COM home page