ADDJOBSCDE CMD(the job you want submitted)

Add 1 hour to the current time to get the date and time for ADDJOBSCDE.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Raul A. Jager W.
Sent: Thursday, June 05, 2008 3:06 PM
To: Midrange Systems Technical Discussion
Subject: Wait for one hour and then run

I have a program for seling newspaper ads by credit card.

It works like this:

Customer selects the ad, how big, how many days, etc. and gets the
Next I send him to the site of the credit card processor.
Once finish, the customer gets send back and I verify (with the
processor) if the transaction is Ok.

Now I have to take the steps to recover the transaction if something
goes wrong, like customer abandoning the card processor or not returnig
to finish the transaction.

One idea is to send a job to a jobq to be executed in 1 hour from now,
if it founds the transaction completed, just returns, otherwise calls
the processor and finishes or rejects the transaction.
Is there a way to tell sbmjob to wait for one hour? Or I need to set
date and time?

Any better ideas?


This thread ...


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